- 1.56.0 (latest)
- 1.55.0
- 1.54.0
- 1.53.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.6
- 1.4.0
- 1.3.2
- 1.2.12
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Organization.BuilderImplements
OrganizationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Organization.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Organization.Builder |
build()
public Organization build()
Returns | |
---|---|
Type | Description |
Organization |
buildPartial()
public Organization buildPartial()
Returns | |
---|---|
Type | Description |
Organization |
clear()
public Organization.Builder clear()
Returns | |
---|---|
Type | Description |
Organization.Builder |
clearCreateTime()
public Organization.Builder clearCreateTime()
Output only. Timestamp when the Organization was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Organization.Builder |
clearDeleteTime()
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];
Returns | |
---|---|
Type | Description |
Organization.Builder |
clearDirectoryCustomerId()
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];
Returns | |
---|---|
Type | Description |
Organization.Builder |
This builder for chaining. |
clearDisplayName()
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];
Returns | |
---|---|
Type | Description |
Organization.Builder |
This builder for chaining. |
clearEtag()
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];
Returns | |
---|---|
Type | Description |
Organization.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Organization.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Organization.Builder |
clearName()
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];
Returns | |
---|---|
Type | Description |
Organization.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Organization.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Organization.Builder |
clearOwner()
public Organization.Builder clearOwner()
Returns | |
---|---|
Type | Description |
Organization.Builder |
clearState()
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];
Returns | |
---|---|
Type | Description |
Organization.Builder |
This builder for chaining. |
clearUpdateTime()
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];
Returns | |
---|---|
Type | Description |
Organization.Builder |
clone()
public Organization.Builder clone()
Returns | |
---|---|
Type | Description |
Organization.Builder |
getCreateTime()
public Timestamp getCreateTime()
Output only. Timestamp when the Organization was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when the Organization was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when the Organization was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Organization getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Organization |
getDeleteTime()
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];
Returns | |
---|---|
Type | Description |
Timestamp |
The deleteTime. |
getDeleteTimeBuilder()
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];
Returns | |
---|---|
Type | Description |
Builder |
getDeleteTimeOrBuilder()
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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDirectoryCustomerId()
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];
Returns | |
---|---|
Type | Description |
String |
The directoryCustomerId. |
getDirectoryCustomerIdBytes()
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];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for directoryCustomerId. |
getDisplayName()
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];
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
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];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getEtag()
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];
Returns | |
---|---|
Type | Description |
String |
The etag. |
getEtagBytes()
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];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for etag. |
getName()
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];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
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];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getOwnerCase()
public Organization.OwnerCase getOwnerCase()
Returns | |
---|---|
Type | Description |
Organization.OwnerCase |
getState()
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];
Returns | |
---|---|
Type | Description |
Organization.State |
The state. |
getStateValue()
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];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Timestamp when the Organization was last modified.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
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];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when the Organization was last modified.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. Timestamp when the Organization was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasDeleteTime()
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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the deleteTime field is set. |
hasDirectoryCustomerId()
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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the directoryCustomerId field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Timestamp when the Organization was last modified.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Organization.Builder |
mergeDeleteTime(Timestamp value)
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Organization.Builder |
mergeFrom(Organization other)
public Organization.Builder mergeFrom(Organization other)
Parameter | |
---|---|
Name | Description |
other |
Organization |
Returns | |
---|---|
Type | Description |
Organization.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Organization.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Organization.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Organization.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Organization.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Organization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Organization.Builder |
mergeUpdateTime(Timestamp value)
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Organization.Builder |
setCreateTime(Timestamp value)
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Organization.Builder |
setCreateTime(Timestamp.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Organization.Builder |
setDeleteTime(Timestamp value)
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Organization.Builder |
setDeleteTime(Timestamp.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Organization.Builder |
setDirectoryCustomerId(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The directoryCustomerId to set. |
Returns | |
---|---|
Type | Description |
Organization.Builder |
This builder for chaining. |
setDirectoryCustomerIdBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for directoryCustomerId to set. |
Returns | |
---|---|
Type | Description |
Organization.Builder |
This builder for chaining. |
setDisplayName(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
Organization.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
Organization.Builder |
This builder for chaining. |
setEtag(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The etag to set. |
Returns | |
---|---|
Type | Description |
Organization.Builder |
This builder for chaining. |
setEtagBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for etag to set. |
Returns | |
---|---|
Type | Description |
Organization.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Organization.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Organization.Builder |
setName(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Organization.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Organization.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Organization.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Organization.Builder |
setState(Organization.State value)
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];
Parameter | |
---|---|
Name | Description |
value |
Organization.State The state to set. |
Returns | |
---|---|
Type | Description |
Organization.Builder |
This builder for chaining. |
setStateValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
Organization.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Organization.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Organization.Builder |
setUpdateTime(Timestamp value)
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Organization.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Organization.Builder |