- 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 Project.Builder extends GeneratedMessageV3.Builder<Project.Builder> implements ProjectOrBuilder
A project is a high-level Google Cloud entity. It is a container for ACLs, APIs, App Engine Apps, VMs, and other Google Cloud Platform resources.
Protobuf type google.cloud.resourcemanager.v3.Project
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Project.BuilderImplements
ProjectOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Project.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Project.Builder |
build()
public Project build()
Type | Description |
Project |
buildPartial()
public Project buildPartial()
Type | Description |
Project |
clear()
public Project.Builder clear()
Type | Description |
Project.Builder |
clearCreateTime()
public Project.Builder clearCreateTime()
Output only. Creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Project.Builder |
clearDeleteTime()
public Project.Builder clearDeleteTime()
Output only. The time at which this resource was requested for deletion.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Project.Builder |
clearDisplayName()
public Project.Builder clearDisplayName()
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];
Type | Description |
Project.Builder | This builder for chaining. |
clearEtag()
public Project.Builder clearEtag()
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];
Type | Description |
Project.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Project.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Project.Builder |
clearLabels()
public Project.Builder clearLabels()
Type | Description |
Project.Builder |
clearName()
public Project.Builder clearName()
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];
Type | Description |
Project.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Project.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Project.Builder |
clearParent()
public Project.Builder clearParent()
Optional. A reference to a parent Resource. eg., organizations/123
or
folders/876
.
string parent = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Project.Builder | This builder for chaining. |
clearProjectId()
public Project.Builder clearProjectId()
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];
Type | Description |
Project.Builder | This builder for chaining. |
clearState()
public Project.Builder clearState()
Output only. The project lifecycle state.
.google.cloud.resourcemanager.v3.Project.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Project.Builder | This builder for chaining. |
clearUpdateTime()
public Project.Builder clearUpdateTime()
Output only. The most recent time this resource was modified.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Project.Builder |
clone()
public Project.Builder clone()
Type | Description |
Project.Builder |
containsLabels(String key)
public 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\?.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (\a-z\?)?.
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];
Name | Description |
key | String |
Type | Description |
boolean |
getCreateTime()
public Timestamp getCreateTime()
Output only. Creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Project getDefaultInstanceForType()
Type | Description |
Project |
getDeleteTime()
public 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];
Type | Description |
Timestamp | The deleteTime. |
getDeleteTimeBuilder()
public Timestamp.Builder getDeleteTimeBuilder()
Output only. The time at which this resource was requested for deletion.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getDeleteTimeOrBuilder()
public 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];
Type | Description |
TimestampOrBuilder |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public 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];
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public 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];
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 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];
Type | Description |
String | The etag. |
getEtagBytes()
public 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];
Type | Description |
ByteString | The bytes for etag. |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public 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\?.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (\a-z\?)?.
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];
Type | Description |
int |
getLabelsMap()
public 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\?.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (\a-z\?)?.
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];
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public 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\?.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (\a-z\?)?.
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];
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public 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\?.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (\a-z\?)?.
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];
Name | Description |
key | String |
Type | Description |
String |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getName()
public 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];
Type | Description |
String | The name. |
getNameBytes()
public 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];
Type | Description |
ByteString | The bytes for name. |
getParent()
public String getParent()
Optional. A reference to a parent Resource. eg., organizations/123
or
folders/876
.
string parent = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Optional. A reference to a parent Resource. eg., organizations/123
or
folders/876
.
string parent = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for parent. |
getProjectId()
public 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];
Type | Description |
String | The projectId. |
getProjectIdBytes()
public 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];
Type | Description |
ByteString | The bytes for projectId. |
getState()
public Project.State getState()
Output only. The project lifecycle state.
.google.cloud.resourcemanager.v3.Project.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Project.State | The state. |
getStateValue()
public int getStateValue()
Output only. The project lifecycle state.
.google.cloud.resourcemanager.v3.Project.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The enum numeric value on the wire for state. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The most recent time this resource was modified.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The most recent time this resource was modified.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The most recent time this resource was modified.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. Creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
hasDeleteTime()
public 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];
Type | Description |
boolean | Whether the deleteTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The most recent time this resource was modified.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Project.Builder mergeCreateTime(Timestamp value)
Output only. Creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Project.Builder |
mergeDeleteTime(Timestamp value)
public Project.Builder mergeDeleteTime(Timestamp value)
Output only. The time at which this resource was requested for deletion.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Project.Builder |
mergeFrom(Project other)
public Project.Builder mergeFrom(Project other)
Name | Description |
other | Project |
Type | Description |
Project.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Project.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Project.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Project.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Project.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Project.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Project.Builder |
mergeUpdateTime(Timestamp value)
public Project.Builder mergeUpdateTime(Timestamp value)
Output only. The most recent time this resource was modified.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Project.Builder |
putAllLabels(Map<String,String> values)
public Project.Builder putAllLabels(Map<String,String> values)
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\?.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (\a-z\?)?.
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];
Name | Description |
values | Map<String,String> |
Type | Description |
Project.Builder |
putLabels(String key, String value)
public Project.Builder putLabels(String key, String value)
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\?.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (\a-z\?)?.
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];
Name | Description |
key | String |
value | String |
Type | Description |
Project.Builder |
removeLabels(String key)
public Project.Builder removeLabels(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\?.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (\a-z\?)?.
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];
Name | Description |
key | String |
Type | Description |
Project.Builder |
setCreateTime(Timestamp value)
public Project.Builder setCreateTime(Timestamp value)
Output only. Creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Project.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Project.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Project.Builder |
setDeleteTime(Timestamp value)
public Project.Builder setDeleteTime(Timestamp value)
Output only. The time at which this resource was requested for deletion.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Project.Builder |
setDeleteTime(Timestamp.Builder builderForValue)
public Project.Builder setDeleteTime(Timestamp.Builder builderForValue)
Output only. The time at which this resource was requested for deletion.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Project.Builder |
setDisplayName(String value)
public Project.Builder setDisplayName(String value)
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];
Name | Description |
value | String The displayName to set. |
Type | Description |
Project.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Project.Builder setDisplayNameBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
Project.Builder | This builder for chaining. |
setEtag(String value)
public Project.Builder setEtag(String value)
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];
Name | Description |
value | String The etag to set. |
Type | Description |
Project.Builder | This builder for chaining. |
setEtagBytes(ByteString value)
public Project.Builder setEtagBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for etag to set. |
Type | Description |
Project.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Project.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Project.Builder |
setName(String value)
public Project.Builder setName(String value)
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];
Name | Description |
value | String The name to set. |
Type | Description |
Project.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Project.Builder setNameBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Project.Builder | This builder for chaining. |
setParent(String value)
public Project.Builder setParent(String value)
Optional. A reference to a parent Resource. eg., organizations/123
or
folders/876
.
string parent = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The parent to set. |
Type | Description |
Project.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public Project.Builder setParentBytes(ByteString value)
Optional. A reference to a parent Resource. eg., organizations/123
or
folders/876
.
string parent = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
Project.Builder | This builder for chaining. |
setProjectId(String value)
public Project.Builder setProjectId(String value)
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];
Name | Description |
value | String The projectId to set. |
Type | Description |
Project.Builder | This builder for chaining. |
setProjectIdBytes(ByteString value)
public Project.Builder setProjectIdBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for projectId to set. |
Type | Description |
Project.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Project.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Project.Builder |
setState(Project.State value)
public Project.Builder setState(Project.State value)
Output only. The project lifecycle state.
.google.cloud.resourcemanager.v3.Project.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Project.State The state to set. |
Type | Description |
Project.Builder | This builder for chaining. |
setStateValue(int value)
public Project.Builder setStateValue(int value)
Output only. The project lifecycle state.
.google.cloud.resourcemanager.v3.Project.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
Project.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Project.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Project.Builder |
setUpdateTime(Timestamp value)
public Project.Builder setUpdateTime(Timestamp value)
Output only. The most recent time this resource was modified.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Project.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Project.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The most recent time this resource was modified.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Project.Builder |