public static final class Organization.Builder extends GeneratedMessageV3.Builder<Organization.Builder> implements OrganizationOrBuilder
The root node in the resource hierarchy to which a particular entity's (a company, for example) resources belong.Protobuf type
google.cloud.resourcemanager.v3.Organization
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Organization.Builder>
public Organization.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Organization.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Organization.Builder>
public Organization getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Organization build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Organization buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Organization.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Organization.Builder>
public Organization.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Organization.Builder>
public Organization.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Organization.Builder>
public Organization.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Organization.Builder>
public Organization.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Organization.Builder>
public Organization.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Organization.Builder>
public Organization.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Organization.Builder>
public Organization.Builder mergeFrom(Organization other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Organization.Builder>
public Organization.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Organization.Builder>
IOException
public Organization.OwnerCase getOwnerCase()
getOwnerCase
in interface OrganizationOrBuilder
public Organization.Builder clearOwner()
public String getName()
Output only. The resource name of the organization. This is the organization's relative path in the API. Its format is "organizations/[organization_id]". For example, "organizations/1234".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getName
in interface OrganizationOrBuilder
public ByteString getNameBytes()
Output only. The resource name of the organization. This is the organization's relative path in the API. Its format is "organizations/[organization_id]". For example, "organizations/1234".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getNameBytes
in interface OrganizationOrBuilder
public Organization.Builder setName(String value)
Output only. The resource name of the organization. This is the organization's relative path in the API. Its format is "organizations/[organization_id]". For example, "organizations/1234".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The name to set.public Organization.Builder clearName()
Output only. The resource name of the organization. This is the organization's relative path in the API. Its format is "organizations/[organization_id]". For example, "organizations/1234".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Organization.Builder setNameBytes(ByteString value)
Output only. The resource name of the organization. This is the organization's relative path in the API. Its format is "organizations/[organization_id]". For example, "organizations/1234".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The bytes for name to set.public String getDisplayName()
Output only. A human-readable string that refers to the organization in the Google Cloud Console. This string is set by the server and cannot be changed. The string will be set to the primary domain (for example, "google.com") of the Google Workspace customer that owns the organization.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDisplayName
in interface OrganizationOrBuilder
public ByteString getDisplayNameBytes()
Output only. A human-readable string that refers to the organization in the Google Cloud Console. This string is set by the server and cannot be changed. The string will be set to the primary domain (for example, "google.com") of the Google Workspace customer that owns the organization.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDisplayNameBytes
in interface OrganizationOrBuilder
public Organization.Builder setDisplayName(String value)
Output only. A human-readable string that refers to the organization in the Google Cloud Console. This string is set by the server and cannot be changed. The string will be set to the primary domain (for example, "google.com") of the Google Workspace customer that owns the organization.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The displayName to set.public Organization.Builder clearDisplayName()
Output only. A human-readable string that refers to the organization in the Google Cloud Console. This string is set by the server and cannot be changed. The string will be set to the primary domain (for example, "google.com") of the Google Workspace customer that owns the organization.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Organization.Builder setDisplayNameBytes(ByteString value)
Output only. A human-readable string that refers to the organization in the Google Cloud Console. This string is set by the server and cannot be changed. The string will be set to the primary domain (for example, "google.com") of the Google Workspace customer that owns the organization.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The bytes for displayName to set.public boolean hasDirectoryCustomerId()
Immutable. The G Suite / Workspace customer id used in the Directory API.
string directory_customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE];
hasDirectoryCustomerId
in interface OrganizationOrBuilder
public String getDirectoryCustomerId()
Immutable. The G Suite / Workspace customer id used in the Directory API.
string directory_customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE];
getDirectoryCustomerId
in interface OrganizationOrBuilder
public ByteString getDirectoryCustomerIdBytes()
Immutable. The G Suite / Workspace customer id used in the Directory API.
string directory_customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE];
getDirectoryCustomerIdBytes
in interface OrganizationOrBuilder
public Organization.Builder setDirectoryCustomerId(String value)
Immutable. The G Suite / Workspace customer id used in the Directory API.
string directory_customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE];
value
- The directoryCustomerId to set.public Organization.Builder clearDirectoryCustomerId()
Immutable. The G Suite / Workspace customer id used in the Directory API.
string directory_customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE];
public Organization.Builder setDirectoryCustomerIdBytes(ByteString value)
Immutable. The G Suite / Workspace customer id used in the Directory API.
string directory_customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE];
value
- The bytes for directoryCustomerId to set.public int getStateValue()
Output only. The organization's current lifecycle state.
.google.cloud.resourcemanager.v3.Organization.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue
in interface OrganizationOrBuilder
public Organization.Builder setStateValue(int value)
Output only. The organization's current lifecycle state.
.google.cloud.resourcemanager.v3.Organization.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The enum numeric value on the wire for state to set.public Organization.State getState()
Output only. The organization's current lifecycle state.
.google.cloud.resourcemanager.v3.Organization.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState
in interface OrganizationOrBuilder
public Organization.Builder setState(Organization.State value)
Output only. The organization's current lifecycle state.
.google.cloud.resourcemanager.v3.Organization.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The state to set.public Organization.Builder clearState()
Output only. The organization's current lifecycle state.
.google.cloud.resourcemanager.v3.Organization.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean hasCreateTime()
Output only. Timestamp when the Organization was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime
in interface OrganizationOrBuilder
public Timestamp getCreateTime()
Output only. Timestamp when the Organization was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime
in interface OrganizationOrBuilder
public Organization.Builder setCreateTime(Timestamp value)
Output only. Timestamp when the Organization was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Organization.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Timestamp when the Organization was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Organization.Builder mergeCreateTime(Timestamp value)
Output only. Timestamp when the Organization was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Organization.Builder clearCreateTime()
Output only. Timestamp when the Organization was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when the Organization was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when the Organization was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder
in interface OrganizationOrBuilder
public boolean hasUpdateTime()
Output only. Timestamp when the Organization was last modified.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime
in interface OrganizationOrBuilder
public Timestamp getUpdateTime()
Output only. Timestamp when the Organization was last modified.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime
in interface OrganizationOrBuilder
public Organization.Builder setUpdateTime(Timestamp value)
Output only. Timestamp when the Organization was last modified.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Organization.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Timestamp when the Organization was last modified.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Organization.Builder mergeUpdateTime(Timestamp value)
Output only. Timestamp when the Organization was last modified.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Organization.Builder clearUpdateTime()
Output only. Timestamp when the Organization was last modified.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Timestamp.Builder getUpdateTimeBuilder()
Output only. Timestamp when the Organization was last modified.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when the Organization was last modified.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder
in interface OrganizationOrBuilder
public boolean hasDeleteTime()
Output only. Timestamp when the Organization was requested for deletion.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasDeleteTime
in interface OrganizationOrBuilder
public Timestamp getDeleteTime()
Output only. Timestamp when the Organization was requested for deletion.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeleteTime
in interface OrganizationOrBuilder
public Organization.Builder setDeleteTime(Timestamp value)
Output only. Timestamp when the Organization was requested for deletion.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Organization.Builder setDeleteTime(Timestamp.Builder builderForValue)
Output only. Timestamp when the Organization was requested for deletion.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Organization.Builder mergeDeleteTime(Timestamp value)
Output only. Timestamp when the Organization was requested for deletion.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Organization.Builder clearDeleteTime()
Output only. Timestamp when the Organization was requested for deletion.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Timestamp.Builder getDeleteTimeBuilder()
Output only. Timestamp when the Organization was requested for deletion.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. Timestamp when the Organization was requested for deletion.
.google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeleteTimeOrBuilder
in interface OrganizationOrBuilder
public String getEtag()
Output only. A checksum computed by the server based on the current value of the Organization resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEtag
in interface OrganizationOrBuilder
public ByteString getEtagBytes()
Output only. A checksum computed by the server based on the current value of the Organization resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEtagBytes
in interface OrganizationOrBuilder
public Organization.Builder setEtag(String value)
Output only. A checksum computed by the server based on the current value of the Organization resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The etag to set.public Organization.Builder clearEtag()
Output only. A checksum computed by the server based on the current value of the Organization resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Organization.Builder setEtagBytes(ByteString value)
Output only. A checksum computed by the server based on the current value of the Organization resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The bytes for etag to set.public final Organization.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Organization.Builder>
public final Organization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Organization.Builder>
Copyright © 2022 Google LLC. All rights reserved.