public final class Organization extends 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.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
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 |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public Organization.OwnerCase getOwnerCase()
getOwnerCase
in interface OrganizationOrBuilder
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 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 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 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.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 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 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 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 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 final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Organization parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Organization parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Organization parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Organization parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Organization parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Organization parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Organization parseFrom(InputStream input) throws IOException
IOException
public static Organization parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Organization parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Organization parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Organization parseFrom(CodedInputStream input) throws IOException
IOException
public static Organization parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Organization.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Organization.Builder newBuilder()
public static Organization.Builder newBuilder(Organization prototype)
public Organization.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Organization.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Organization getDefaultInstance()
public static Parser<Organization> parser()
public Parser<Organization> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Organization getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.