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
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionclearCid()
optional string cid = 6 [json_name = "cid"];
.google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
GCS region of the organization.clearId()
string id = 1 [json_name = "id"];
string name = 2 [json_name = "name"];
string public_namespace = 4 [json_name = "publicNamespace"];
getCid()
optional string cid = 6 [json_name = "cid"];
com.google.protobuf.ByteString
optional string cid = 6 [json_name = "cid"];
com.google.protobuf.Timestamp
.google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
GCS region of the organization.com.google.protobuf.ByteString
GCS region of the organization.getId()
string id = 1 [json_name = "id"];
com.google.protobuf.ByteString
string id = 1 [json_name = "id"];
getName()
string name = 2 [json_name = "name"];
com.google.protobuf.ByteString
string name = 2 [json_name = "name"];
string public_namespace = 4 [json_name = "publicNamespace"];
com.google.protobuf.ByteString
string public_namespace = 4 [json_name = "publicNamespace"];
boolean
hasCid()
optional string cid = 6 [json_name = "cid"];
boolean
.google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
mergeCreatedOn
(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
optional string cid = 6 [json_name = "cid"];
setCidBytes
(com.google.protobuf.ByteString value) optional string cid = 6 [json_name = "cid"];
setCreatedOn
(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
setCreatedOn
(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
setDefaultRegion
(String value) GCS region of the organization.setDefaultRegionBytes
(com.google.protobuf.ByteString value) GCS region of the organization.string id = 1 [json_name = "id"];
setIdBytes
(com.google.protobuf.ByteString value) string id = 1 [json_name = "id"];
string name = 2 [json_name = "name"];
setNameBytes
(com.google.protobuf.ByteString value) string name = 2 [json_name = "name"];
setPublicNamespace
(String value) string public_namespace = 4 [json_name = "publicNamespace"];
setPublicNamespaceBytes
(com.google.protobuf.ByteString value) string public_namespace = 4 [json_name = "publicNamespace"];
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getId
string id = 1 [json_name = "id"];
- Specified by:
getId
in interfaceApp.OrganizationOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];
- Specified by:
getIdBytes
in interfaceApp.OrganizationOrBuilder
- Returns:
- The bytes for id.
-
setId
string id = 1 [json_name = "id"];
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
string id = 1 [json_name = "id"];
- Returns:
- This builder for chaining.
-
setIdBytes
string id = 1 [json_name = "id"];
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-
getName
string name = 2 [json_name = "name"];
- Specified by:
getName
in interfaceApp.OrganizationOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 2 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceApp.OrganizationOrBuilder
- Returns:
- The bytes for name.
-
setName
string name = 2 [json_name = "name"];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
string name = 2 [json_name = "name"];
- Returns:
- This builder for chaining.
-
setNameBytes
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 interfaceApp.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 interfaceApp.OrganizationOrBuilder
- Returns:
- The createdOn.
-
setCreatedOn
.google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
-
setCreatedOn
.google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
-
mergeCreatedOn
.google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
-
clearCreatedOn
.google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
-
getPublicNamespace
string public_namespace = 4 [json_name = "publicNamespace"];
- Specified by:
getPublicNamespace
in interfaceApp.OrganizationOrBuilder
- Returns:
- The publicNamespace.
-
getPublicNamespaceBytes
public com.google.protobuf.ByteString getPublicNamespaceBytes()string public_namespace = 4 [json_name = "publicNamespace"];
- Specified by:
getPublicNamespaceBytes
in interfaceApp.OrganizationOrBuilder
- Returns:
- The bytes for publicNamespace.
-
setPublicNamespace
string public_namespace = 4 [json_name = "publicNamespace"];
- Parameters:
value
- The publicNamespace to set.- Returns:
- This builder for chaining.
-
clearPublicNamespace
string public_namespace = 4 [json_name = "publicNamespace"];
- Returns:
- This builder for chaining.
-
setPublicNamespaceBytes
string public_namespace = 4 [json_name = "publicNamespace"];
- Parameters:
value
- The bytes for publicNamespace to set.- Returns:
- This builder for chaining.
-
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 interfaceApp.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 interfaceApp.OrganizationOrBuilder
- Returns:
- The bytes for defaultRegion.
-
setDefaultRegion
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
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
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 interfaceApp.OrganizationOrBuilder
- Returns:
- Whether the cid field is set.
-
getCid
optional string cid = 6 [json_name = "cid"];
- Specified by:
getCid
in interfaceApp.OrganizationOrBuilder
- Returns:
- The cid.
-
getCidBytes
public com.google.protobuf.ByteString getCidBytes()optional string cid = 6 [json_name = "cid"];
- Specified by:
getCidBytes
in interfaceApp.OrganizationOrBuilder
- Returns:
- The bytes for cid.
-
setCid
optional string cid = 6 [json_name = "cid"];
- Parameters:
value
- The cid to set.- Returns:
- This builder for chaining.
-
clearCid
optional string cid = 6 [json_name = "cid"];
- Returns:
- This builder for chaining.
-
setCidBytes
optional string cid = 6 [json_name = "cid"];
- Parameters:
value
- The bytes for cid to set.- Returns:
- This builder for chaining.
-