Class Project.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
- com.google.cloud.resourcemanager.v3.Project.Builder
-
- All Implemented Interfaces:
ProjectOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Project
public static final class Project.Builder extends com.google.protobuf.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 typegoogle.cloud.resourcemanager.v3.Project
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Project.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Project
build()
Project
buildPartial()
Project.Builder
clear()
Project.Builder
clearCreateTime()
Output only.Project.Builder
clearDeleteTime()
Output only.Project.Builder
clearDisplayName()
Optional.Project.Builder
clearEtag()
Output only.Project.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Project.Builder
clearLabels()
Project.Builder
clearName()
Output only.Project.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Project.Builder
clearParent()
Optional.Project.Builder
clearProjectId()
Immutable.Project.Builder
clearState()
Output only.Project.Builder
clearUpdateTime()
Output only.Project.Builder
clone()
boolean
containsLabels(String key)
Optional.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Project
getDefaultInstanceForType()
com.google.protobuf.Timestamp
getDeleteTime()
Output only.com.google.protobuf.Timestamp.Builder
getDeleteTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getDeleteTimeOrBuilder()
Output only.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisplayName()
Optional.com.google.protobuf.ByteString
getDisplayNameBytes()
Optional.String
getEtag()
Output only.com.google.protobuf.ByteString
getEtagBytes()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Optional.Map<String,String>
getLabelsMap()
Optional.String
getLabelsOrDefault(String key, String defaultValue)
Optional.String
getLabelsOrThrow(String key)
Optional.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.String
getParent()
Optional.com.google.protobuf.ByteString
getParentBytes()
Optional.String
getProjectId()
Immutable.com.google.protobuf.ByteString
getProjectIdBytes()
Immutable.Project.State
getState()
Output only.int
getStateValue()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCreateTime()
Output only.boolean
hasDeleteTime()
Output only.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Project.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Project.Builder
mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only.Project.Builder
mergeFrom(Project other)
Project.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Project.Builder
mergeFrom(com.google.protobuf.Message other)
Project.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Project.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.Project.Builder
putAllLabels(Map<String,String> values)
Optional.Project.Builder
putLabels(String key, String value)
Optional.Project.Builder
removeLabels(String key)
Optional.Project.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Project.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Project.Builder
setDeleteTime(com.google.protobuf.Timestamp value)
Output only.Project.Builder
setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Project.Builder
setDisplayName(String value)
Optional.Project.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
Optional.Project.Builder
setEtag(String value)
Output only.Project.Builder
setEtagBytes(com.google.protobuf.ByteString value)
Output only.Project.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Project.Builder
setName(String value)
Output only.Project.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Project.Builder
setParent(String value)
Optional.Project.Builder
setParentBytes(com.google.protobuf.ByteString value)
Optional.Project.Builder
setProjectId(String value)
Immutable.Project.Builder
setProjectIdBytes(com.google.protobuf.ByteString value)
Immutable.Project.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Project.Builder
setState(Project.State value)
Output only.Project.Builder
setStateValue(int value)
Output only.Project.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Project.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Project.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
clear
public Project.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
getDefaultInstanceForType
public Project getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Project build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Project buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Project.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
setField
public Project.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
clearField
public Project.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
clearOneof
public Project.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
setRepeatedField
public Project.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
addRepeatedField
public Project.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
mergeFrom
public Project.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Project.Builder>
-
mergeFrom
public Project.Builder mergeFrom(Project other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
mergeFrom
public Project.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Project.Builder>
- Throws:
IOException
-
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];
- Specified by:
getName
in interfaceProjectOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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];
- Specified by:
getNameBytes
in interfaceProjectOrBuilder
- Returns:
- The bytes for name.
-
setName
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];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
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];
- Returns:
- This builder for chaining.
-
setNameBytes
public Project.Builder setNameBytes(com.google.protobuf.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];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getParent
in interfaceProjectOrBuilder
- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()
Optional. A reference to a parent Resource. eg., `organizations/123` or `folders/876`.
string parent = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getParentBytes
in interfaceProjectOrBuilder
- Returns:
- The bytes for parent.
-
setParent
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];
- Parameters:
value
- The parent to set.- Returns:
- This builder for chaining.
-
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];
- Returns:
- This builder for chaining.
-
setParentBytes
public Project.Builder setParentBytes(com.google.protobuf.ByteString value)
Optional. A reference to a parent Resource. eg., `organizations/123` or `folders/876`.
string parent = 2 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for parent to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getProjectId
in interfaceProjectOrBuilder
- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.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];
- Specified by:
getProjectIdBytes
in interfaceProjectOrBuilder
- Returns:
- The bytes for projectId.
-
setProjectId
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];
- Parameters:
value
- The projectId to set.- Returns:
- 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];
- Returns:
- This builder for chaining.
-
setProjectIdBytes
public Project.Builder setProjectIdBytes(com.google.protobuf.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];
- Parameters:
value
- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()
Output only. The project lifecycle state.
.google.cloud.resourcemanager.v3.Project.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceProjectOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
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];
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getState
in interfaceProjectOrBuilder
- Returns:
- The state.
-
setState
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];
- Parameters:
value
- The state to set.- Returns:
- 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];
- Returns:
- This builder for chaining.
-
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];
- Specified by:
getDisplayName
in interfaceProjectOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.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];
- Specified by:
getDisplayNameBytes
in interfaceProjectOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
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];
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
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];
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public Project.Builder setDisplayNameBytes(com.google.protobuf.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];
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. Creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceProjectOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceProjectOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public Project.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Project.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Project.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Project.Builder clearCreateTime()
Output only. Creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceProjectOrBuilder
-
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];
- Specified by:
hasUpdateTime
in interfaceProjectOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The most recent time this resource was modified.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceProjectOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public Project.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The most recent time this resource was modified.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public Project.Builder setUpdateTime(com.google.protobuf.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];
-
mergeUpdateTime
public Project.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The most recent time this resource was modified.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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];
-
getUpdateTimeBuilder
public com.google.protobuf.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];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The most recent time this resource was modified.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceProjectOrBuilder
-
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];
- Specified by:
hasDeleteTime
in interfaceProjectOrBuilder
- Returns:
- Whether the deleteTime field is set.
-
getDeleteTime
public com.google.protobuf.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];
- Specified by:
getDeleteTime
in interfaceProjectOrBuilder
- Returns:
- The deleteTime.
-
setDeleteTime
public Project.Builder setDeleteTime(com.google.protobuf.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];
-
setDeleteTime
public Project.Builder setDeleteTime(com.google.protobuf.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];
-
mergeDeleteTime
public Project.Builder mergeDeleteTime(com.google.protobuf.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];
-
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];
-
getDeleteTimeBuilder
public com.google.protobuf.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];
-
getDeleteTimeOrBuilder
public com.google.protobuf.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];
- Specified by:
getDeleteTimeOrBuilder
in interfaceProjectOrBuilder
-
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];
- Specified by:
getEtag
in interfaceProjectOrBuilder
- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.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];
- Specified by:
getEtagBytes
in interfaceProjectOrBuilder
- Returns:
- The bytes for etag.
-
setEtag
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];
- Parameters:
value
- The etag to set.- Returns:
- 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];
- Returns:
- This builder for chaining.
-
setEtagBytes
public Project.Builder setEtagBytes(com.google.protobuf.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];
- Parameters:
value
- The bytes for etag to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ProjectOrBuilder
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 64 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];
- Specified by:
getLabelsCount
in interfaceProjectOrBuilder
-
containsLabels
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\](\[-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 64 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];
- Specified by:
containsLabels
in interfaceProjectOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceProjectOrBuilder
-
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\](\[-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 64 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];
- Specified by:
getLabelsMap
in interfaceProjectOrBuilder
-
getLabelsOrDefault
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\](\[-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 64 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];
- Specified by:
getLabelsOrDefault
in interfaceProjectOrBuilder
-
getLabelsOrThrow
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\](\[-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 64 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];
- Specified by:
getLabelsOrThrow
in interfaceProjectOrBuilder
-
clearLabels
public Project.Builder clearLabels()
-
removeLabels
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\](\[-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 64 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];
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
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\](\[-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 64 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];
-
putAllLabels
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\](\[-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 64 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];
-
setUnknownFields
public final Project.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
mergeUnknownFields
public final Project.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>
-
-