Package viam.app.v1

Class App.CreateRegistryItemRequest.Builder

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

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

    • getOrganizationId

      public String getOrganizationId()
       The organization to create the registry item under
       
      string organization_id = 1 [json_name = "organizationId"];
      Specified by:
      getOrganizationId in interface App.CreateRegistryItemRequestOrBuilder
      Returns:
      The organizationId.
    • getOrganizationIdBytes

      public com.google.protobuf.ByteString getOrganizationIdBytes()
       The organization to create the registry item under
       
      string organization_id = 1 [json_name = "organizationId"];
      Specified by:
      getOrganizationIdBytes in interface App.CreateRegistryItemRequestOrBuilder
      Returns:
      The bytes for organizationId.
    • setOrganizationId

      public App.CreateRegistryItemRequest.Builder setOrganizationId(String value)
       The organization to create the registry item under
       
      string organization_id = 1 [json_name = "organizationId"];
      Parameters:
      value - The organizationId to set.
      Returns:
      This builder for chaining.
    • clearOrganizationId

      public App.CreateRegistryItemRequest.Builder clearOrganizationId()
       The organization to create the registry item under
       
      string organization_id = 1 [json_name = "organizationId"];
      Returns:
      This builder for chaining.
    • setOrganizationIdBytes

      public App.CreateRegistryItemRequest.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value)
       The organization to create the registry item under
       
      string organization_id = 1 [json_name = "organizationId"];
      Parameters:
      value - The bytes for organizationId to set.
      Returns:
      This builder for chaining.
    • getName

      public String getName()
       The name of the registry item, which must be unique within your org
       
      string name = 2 [json_name = "name"];
      Specified by:
      getName in interface App.CreateRegistryItemRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of the registry item, which must be unique within your org
       
      string name = 2 [json_name = "name"];
      Specified by:
      getNameBytes in interface App.CreateRegistryItemRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

       The name of the registry item, which must be unique within your org
       
      string name = 2 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       The name of the registry item, which must be unique within your org
       
      string name = 2 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public App.CreateRegistryItemRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       The name of the registry item, which must be unique within your org
       
      string name = 2 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getTypeValue

      public int getTypeValue()
       The type of the item in the registry
       
      .viam.app.packages.v1.PackageType type = 3 [json_name = "type"];
      Specified by:
      getTypeValue in interface App.CreateRegistryItemRequestOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public App.CreateRegistryItemRequest.Builder setTypeValue(int value)
       The type of the item in the registry
       
      .viam.app.packages.v1.PackageType type = 3 [json_name = "type"];
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • getType

      public Packages.PackageType getType()
       The type of the item in the registry
       
      .viam.app.packages.v1.PackageType type = 3 [json_name = "type"];
      Specified by:
      getType in interface App.CreateRegistryItemRequestOrBuilder
      Returns:
      The type.
    • setType

       The type of the item in the registry
       
      .viam.app.packages.v1.PackageType type = 3 [json_name = "type"];
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • clearType

       The type of the item in the registry
       
      .viam.app.packages.v1.PackageType type = 3 [json_name = "type"];
      Returns:
      This builder for chaining.