Package viam.app.v1

Class App.Organization.Builder

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

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

    • getId

      public String getId()
      string id = 1 [json_name = "id"];
      Specified by:
      getId in interface App.OrganizationOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      string id = 1 [json_name = "id"];
      Specified by:
      getIdBytes in interface App.OrganizationOrBuilder
      Returns:
      The bytes for id.
    • setId

      public App.Organization.Builder setId(String value)
      string id = 1 [json_name = "id"];
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public App.Organization.Builder clearId()
      string id = 1 [json_name = "id"];
      Returns:
      This builder for chaining.
    • setIdBytes

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

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

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

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

      public App.Organization.Builder clearName()
      string name = 2 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

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

      public boolean hasCreatedOn()
      .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
      Specified by:
      hasCreatedOn in interface App.OrganizationOrBuilder
      Returns:
      Whether the createdOn field is set.
    • getCreatedOn

      public com.google.protobuf.Timestamp getCreatedOn()
      .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
      Specified by:
      getCreatedOn in interface App.OrganizationOrBuilder
      Returns:
      The createdOn.
    • setCreatedOn

      public App.Organization.Builder setCreatedOn(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
    • setCreatedOn

      public App.Organization.Builder setCreatedOn(com.google.protobuf.Timestamp.Builder builderForValue)
      .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
    • mergeCreatedOn

      public App.Organization.Builder mergeCreatedOn(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
    • clearCreatedOn

      public App.Organization.Builder clearCreatedOn()
      .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
    • getPublicNamespace

      public String getPublicNamespace()
      string public_namespace = 4 [json_name = "publicNamespace"];
      Specified by:
      getPublicNamespace in interface App.OrganizationOrBuilder
      Returns:
      The publicNamespace.
    • getPublicNamespaceBytes

      public com.google.protobuf.ByteString getPublicNamespaceBytes()
      string public_namespace = 4 [json_name = "publicNamespace"];
      Specified by:
      getPublicNamespaceBytes in interface App.OrganizationOrBuilder
      Returns:
      The bytes for publicNamespace.
    • setPublicNamespace

      public App.Organization.Builder setPublicNamespace(String value)
      string public_namespace = 4 [json_name = "publicNamespace"];
      Parameters:
      value - The publicNamespace to set.
      Returns:
      This builder for chaining.
    • clearPublicNamespace

      public App.Organization.Builder clearPublicNamespace()
      string public_namespace = 4 [json_name = "publicNamespace"];
      Returns:
      This builder for chaining.
    • setPublicNamespaceBytes

      public App.Organization.Builder setPublicNamespaceBytes(com.google.protobuf.ByteString value)
      string public_namespace = 4 [json_name = "publicNamespace"];
      Parameters:
      value - The bytes for publicNamespace to set.
      Returns:
      This builder for chaining.
    • getDefaultRegion

      public String getDefaultRegion()
       GCS region of the organization. Locations created under this org will have their GCS region set to this by default and packages
       associated with this org will be stored in this region.
       
      string default_region = 5 [json_name = "defaultRegion"];
      Specified by:
      getDefaultRegion in interface App.OrganizationOrBuilder
      Returns:
      The defaultRegion.
    • getDefaultRegionBytes

      public com.google.protobuf.ByteString getDefaultRegionBytes()
       GCS region of the organization. Locations created under this org will have their GCS region set to this by default and packages
       associated with this org will be stored in this region.
       
      string default_region = 5 [json_name = "defaultRegion"];
      Specified by:
      getDefaultRegionBytes in interface App.OrganizationOrBuilder
      Returns:
      The bytes for defaultRegion.
    • setDefaultRegion

      public App.Organization.Builder setDefaultRegion(String value)
       GCS region of the organization. Locations created under this org will have their GCS region set to this by default and packages
       associated with this org will be stored in this region.
       
      string default_region = 5 [json_name = "defaultRegion"];
      Parameters:
      value - The defaultRegion to set.
      Returns:
      This builder for chaining.
    • clearDefaultRegion

      public App.Organization.Builder clearDefaultRegion()
       GCS region of the organization. Locations created under this org will have their GCS region set to this by default and packages
       associated with this org will be stored in this region.
       
      string default_region = 5 [json_name = "defaultRegion"];
      Returns:
      This builder for chaining.
    • setDefaultRegionBytes

      public App.Organization.Builder setDefaultRegionBytes(com.google.protobuf.ByteString value)
       GCS region of the organization. Locations created under this org will have their GCS region set to this by default and packages
       associated with this org will be stored in this region.
       
      string default_region = 5 [json_name = "defaultRegion"];
      Parameters:
      value - The bytes for defaultRegion to set.
      Returns:
      This builder for chaining.
    • hasCid

      public boolean hasCid()
      optional string cid = 6 [json_name = "cid"];
      Specified by:
      hasCid in interface App.OrganizationOrBuilder
      Returns:
      Whether the cid field is set.
    • getCid

      public String getCid()
      optional string cid = 6 [json_name = "cid"];
      Specified by:
      getCid in interface App.OrganizationOrBuilder
      Returns:
      The cid.
    • getCidBytes

      public com.google.protobuf.ByteString getCidBytes()
      optional string cid = 6 [json_name = "cid"];
      Specified by:
      getCidBytes in interface App.OrganizationOrBuilder
      Returns:
      The bytes for cid.
    • setCid

      public App.Organization.Builder setCid(String value)
      optional string cid = 6 [json_name = "cid"];
      Parameters:
      value - The cid to set.
      Returns:
      This builder for chaining.
    • clearCid

      public App.Organization.Builder clearCid()
      optional string cid = 6 [json_name = "cid"];
      Returns:
      This builder for chaining.
    • setCidBytes

      public App.Organization.Builder setCidBytes(com.google.protobuf.ByteString value)
      optional string cid = 6 [json_name = "cid"];
      Parameters:
      value - The bytes for cid to set.
      Returns:
      This builder for chaining.