public final class Organization extends com.google.protobuf.GeneratedMessageV3 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| Modifier and Type | Class and Description |
|---|---|
static class |
Organization.Builder
The root node in the resource hierarchy to which a particular entity's
(a company, for example) resources belong.
|
static class |
Organization.OwnerCase |
static class |
Organization.State
Organization lifecycle states.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DELETE_TIME_FIELD_NUMBER |
static int |
DIRECTORY_CUSTOMER_ID_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
ETAG_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static Organization |
getDefaultInstance() |
Organization |
getDefaultInstanceForType() |
com.google.protobuf.Timestamp |
getDeleteTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getDeleteTimeOrBuilder()
Output only.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDirectoryCustomerId()
Immutable.
|
com.google.protobuf.ByteString |
getDirectoryCustomerIdBytes()
Immutable.
|
String |
getDisplayName()
Output only.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Output only.
|
String |
getEtag()
Output only.
|
com.google.protobuf.ByteString |
getEtagBytes()
Output only.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
Organization.OwnerCase |
getOwnerCase() |
com.google.protobuf.Parser<Organization> |
getParserForType() |
int |
getSerializedSize() |
Organization.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasDeleteTime()
Output only.
|
boolean |
hasDirectoryCustomerId()
Immutable.
|
int |
hashCode() |
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Organization.Builder |
newBuilder() |
static Organization.Builder |
newBuilder(Organization prototype) |
Organization.Builder |
newBuilderForType() |
protected Organization.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Organization |
parseDelimitedFrom(InputStream input) |
static Organization |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Organization |
parseFrom(byte[] data) |
static Organization |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Organization |
parseFrom(ByteBuffer data) |
static Organization |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Organization |
parseFrom(com.google.protobuf.ByteString data) |
static Organization |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Organization |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Organization |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Organization |
parseFrom(InputStream input) |
static Organization |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Organization> |
parser() |
Organization.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int DIRECTORY_CUSTOMER_ID_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int DELETE_TIME_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Organization.OwnerCase getOwnerCase()
getOwnerCase in interface OrganizationOrBuilderpublic 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 OrganizationOrBuilderpublic com.google.protobuf.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 OrganizationOrBuilderpublic 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 OrganizationOrBuilderpublic com.google.protobuf.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 OrganizationOrBuilderpublic 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 OrganizationOrBuilderpublic 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 OrganizationOrBuilderpublic com.google.protobuf.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 OrganizationOrBuilderpublic 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 OrganizationOrBuilderpublic 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 OrganizationOrBuilderpublic 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 OrganizationOrBuilderpublic com.google.protobuf.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 OrganizationOrBuilderpublic com.google.protobuf.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 OrganizationOrBuilderpublic 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 OrganizationOrBuilderpublic com.google.protobuf.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 OrganizationOrBuilderpublic com.google.protobuf.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 OrganizationOrBuilderpublic 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 OrganizationOrBuilderpublic com.google.protobuf.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 OrganizationOrBuilderpublic com.google.protobuf.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 OrganizationOrBuilderpublic 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 OrganizationOrBuilderpublic com.google.protobuf.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 OrganizationOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Organization parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Organization parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Organization parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Organization parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Organization parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Organization parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Organization parseFrom(InputStream input) throws IOException
IOExceptionpublic static Organization parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Organization parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Organization parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Organization parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Organization parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Organization.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Organization.Builder newBuilder()
public static Organization.Builder newBuilder(Organization prototype)
public Organization.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Organization.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Organization getDefaultInstance()
public static com.google.protobuf.Parser<Organization> parser()
public com.google.protobuf.Parser<Organization> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Organization getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.