Package viam.app.v1

Class App.CreateFragmentRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.CreateFragmentRequest,App.CreateFragmentRequest.Builder>
viam.app.v1.App.CreateFragmentRequest.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, App.CreateFragmentRequestOrBuilder
Enclosing class:
App.CreateFragmentRequest

public static final class App.CreateFragmentRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<App.CreateFragmentRequest,App.CreateFragmentRequest.Builder> implements App.CreateFragmentRequestOrBuilder
Protobuf type viam.app.v1.CreateFragmentRequest
  • Method Details

    • getName

      public String getName()
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface App.CreateFragmentRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface App.CreateFragmentRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public App.CreateFragmentRequest.Builder setName(String value)
      string name = 1 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public App.CreateFragmentRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
      string name = 1 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasConfig

      public boolean hasConfig()
      .google.protobuf.Struct config = 2 [json_name = "config"];
      Specified by:
      hasConfig in interface App.CreateFragmentRequestOrBuilder
      Returns:
      Whether the config field is set.
    • getConfig

      public com.google.protobuf.Struct getConfig()
      .google.protobuf.Struct config = 2 [json_name = "config"];
      Specified by:
      getConfig in interface App.CreateFragmentRequestOrBuilder
      Returns:
      The config.
    • setConfig

      public App.CreateFragmentRequest.Builder setConfig(com.google.protobuf.Struct value)
      .google.protobuf.Struct config = 2 [json_name = "config"];
    • setConfig

      public App.CreateFragmentRequest.Builder setConfig(com.google.protobuf.Struct.Builder builderForValue)
      .google.protobuf.Struct config = 2 [json_name = "config"];
    • mergeConfig

      public App.CreateFragmentRequest.Builder mergeConfig(com.google.protobuf.Struct value)
      .google.protobuf.Struct config = 2 [json_name = "config"];
    • clearConfig

      public App.CreateFragmentRequest.Builder clearConfig()
      .google.protobuf.Struct config = 2 [json_name = "config"];
    • getOrganizationId

      public String getOrganizationId()
      string organization_id = 3 [json_name = "organizationId"];
      Specified by:
      getOrganizationId in interface App.CreateFragmentRequestOrBuilder
      Returns:
      The organizationId.
    • getOrganizationIdBytes

      public com.google.protobuf.ByteString getOrganizationIdBytes()
      string organization_id = 3 [json_name = "organizationId"];
      Specified by:
      getOrganizationIdBytes in interface App.CreateFragmentRequestOrBuilder
      Returns:
      The bytes for organizationId.
    • setOrganizationId

      public App.CreateFragmentRequest.Builder setOrganizationId(String value)
      string organization_id = 3 [json_name = "organizationId"];
      Parameters:
      value - The organizationId to set.
      Returns:
      This builder for chaining.
    • clearOrganizationId

      public App.CreateFragmentRequest.Builder clearOrganizationId()
      string organization_id = 3 [json_name = "organizationId"];
      Returns:
      This builder for chaining.
    • setOrganizationIdBytes

      public App.CreateFragmentRequest.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value)
      string organization_id = 3 [json_name = "organizationId"];
      Parameters:
      value - The bytes for organizationId to set.
      Returns:
      This builder for chaining.
    • hasVisibility

      public boolean hasVisibility()
      optional .viam.app.v1.FragmentVisibility visibility = 4 [json_name = "visibility"];
      Specified by:
      hasVisibility in interface App.CreateFragmentRequestOrBuilder
      Returns:
      Whether the visibility field is set.
    • getVisibilityValue

      public int getVisibilityValue()
      optional .viam.app.v1.FragmentVisibility visibility = 4 [json_name = "visibility"];
      Specified by:
      getVisibilityValue in interface App.CreateFragmentRequestOrBuilder
      Returns:
      The enum numeric value on the wire for visibility.
    • setVisibilityValue

      public App.CreateFragmentRequest.Builder setVisibilityValue(int value)
      optional .viam.app.v1.FragmentVisibility visibility = 4 [json_name = "visibility"];
      Parameters:
      value - The visibility to set.
      Returns:
      This builder for chaining.
    • getVisibility

      public App.FragmentVisibility getVisibility()
      optional .viam.app.v1.FragmentVisibility visibility = 4 [json_name = "visibility"];
      Specified by:
      getVisibility in interface App.CreateFragmentRequestOrBuilder
      Returns:
      The visibility.
    • setVisibility

      optional .viam.app.v1.FragmentVisibility visibility = 4 [json_name = "visibility"];
      Parameters:
      value - The enum numeric value on the wire for visibility to set.
      Returns:
      This builder for chaining.
    • clearVisibility

      public App.CreateFragmentRequest.Builder clearVisibility()
      optional .viam.app.v1.FragmentVisibility visibility = 4 [json_name = "visibility"];
      Returns:
      This builder for chaining.