public interface ProjectOrBuilder extends MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getName()
Output only. The unique resource name of the project. It is an int64 generated number prefixed by "projects/". Example: `projects/415104041262`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
ByteString getNameBytes()
Output only. The unique resource name of the project. It is an int64 generated number prefixed by "projects/". Example: `projects/415104041262`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
String getParent()
Optional. A reference to a parent Resource. eg., `organizations/123` or `folders/876`.
string parent = 2 [(.google.api.field_behavior) = OPTIONAL];
ByteString getParentBytes()
Optional. A reference to a parent Resource. eg., `organizations/123` or `folders/876`.
string parent = 2 [(.google.api.field_behavior) = OPTIONAL];
String getProjectId()
Immutable. The unique, user-assigned id of the project. It must be 6 to 30 lowercase ASCII letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: `tokyo-rain-123`
string project_id = 3 [(.google.api.field_behavior) = IMMUTABLE];
ByteString getProjectIdBytes()
Immutable. The unique, user-assigned id of the project. It must be 6 to 30 lowercase ASCII letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: `tokyo-rain-123`
string project_id = 3 [(.google.api.field_behavior) = IMMUTABLE];
int getStateValue()
Output only. The project lifecycle state.
.google.cloud.resourcemanager.v3.Project.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Project.State getState()
Output only. The project lifecycle state.
.google.cloud.resourcemanager.v3.Project.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
String getDisplayName()
Optional. A user-assigned display name of the project. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: `My Project`
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
ByteString getDisplayNameBytes()
Optional. A user-assigned display name of the project. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: `My Project`
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
boolean hasCreateTime()
Output only. Creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Timestamp getCreateTime()
Output only. Creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasUpdateTime()
Output only. The most recent time this resource was modified.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Timestamp getUpdateTime()
Output only. The most recent time this resource was modified.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The most recent time this resource was modified.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasDeleteTime()
Output only. The time at which this resource was requested for deletion.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Timestamp getDeleteTime()
Output only. The time at which this resource was requested for deletion.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. The time at which this resource was requested for deletion.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
String getEtag()
Output only. A checksum computed by the server based on the current value of the Project resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
ByteString getEtagBytes()
Output only. A checksum computed by the server based on the current value of the Project resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
int getLabelsCount()
Optional. The labels associated with this project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. Label values must be between 0 and 63 characters long and must conform to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. No more than 256 labels can be associated with a given resource. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: `"myBusinessDimension" : "businessValue"`
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
boolean containsLabels(String key)
Optional. The labels associated with this project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. Label values must be between 0 and 63 characters long and must conform to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. No more than 256 labels can be associated with a given resource. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: `"myBusinessDimension" : "businessValue"`
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
@Deprecated Map<String,String> getLabels()
getLabelsMap()
instead.Map<String,String> getLabelsMap()
Optional. The labels associated with this project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. Label values must be between 0 and 63 characters long and must conform to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. No more than 256 labels can be associated with a given resource. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: `"myBusinessDimension" : "businessValue"`
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
String getLabelsOrDefault(String key, String defaultValue)
Optional. The labels associated with this project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. Label values must be between 0 and 63 characters long and must conform to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. No more than 256 labels can be associated with a given resource. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: `"myBusinessDimension" : "businessValue"`
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
String getLabelsOrThrow(String key)
Optional. The labels associated with this project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. Label values must be between 0 and 63 characters long and must conform to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. No more than 256 labels can be associated with a given resource. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: `"myBusinessDimension" : "businessValue"`
map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
Copyright © 2022 Google LLC. All rights reserved.