Class TagValue.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TagValue.Builder>
-
- com.google.cloud.resourcemanager.v3.TagValue.Builder
-
- All Implemented Interfaces:
TagValueOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TagValue
public static final class TagValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TagValue.Builder> implements TagValueOrBuilder
A TagValue is a child of a particular TagKey. This is used to group cloud resources for the purpose of controlling them using policies.
Protobuf typegoogle.cloud.resourcemanager.v3.TagValue
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TagValue.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TagValuebuild()TagValuebuildPartial()TagValue.Builderclear()TagValue.BuilderclearCreateTime()Output only.TagValue.BuilderclearDescription()Optional.TagValue.BuilderclearEtag()Optional.TagValue.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TagValue.BuilderclearName()Immutable.TagValue.BuilderclearNamespacedName()Output only.TagValue.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TagValue.BuilderclearParent()Immutable.TagValue.BuilderclearShortName()Required.TagValue.BuilderclearUpdateTime()Output only.TagValue.Builderclone()com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.TagValuegetDefaultInstanceForType()StringgetDescription()Optional.com.google.protobuf.ByteStringgetDescriptionBytes()Optional.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetEtag()Optional.com.google.protobuf.ByteStringgetEtagBytes()Optional.StringgetName()Immutable.com.google.protobuf.ByteStringgetNameBytes()Immutable.StringgetNamespacedName()Output only.com.google.protobuf.ByteStringgetNamespacedNameBytes()Output only.StringgetParent()Immutable.com.google.protobuf.ByteStringgetParentBytes()Immutable.StringgetShortName()Required.com.google.protobuf.ByteStringgetShortNameBytes()Required.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TagValue.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.TagValue.BuildermergeFrom(TagValue other)TagValue.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TagValue.BuildermergeFrom(com.google.protobuf.Message other)TagValue.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TagValue.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.TagValue.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.TagValue.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.TagValue.BuildersetDescription(String value)Optional.TagValue.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)Optional.TagValue.BuildersetEtag(String value)Optional.TagValue.BuildersetEtagBytes(com.google.protobuf.ByteString value)Optional.TagValue.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TagValue.BuildersetName(String value)Immutable.TagValue.BuildersetNameBytes(com.google.protobuf.ByteString value)Immutable.TagValue.BuildersetNamespacedName(String value)Output only.TagValue.BuildersetNamespacedNameBytes(com.google.protobuf.ByteString value)Output only.TagValue.BuildersetParent(String value)Immutable.TagValue.BuildersetParentBytes(com.google.protobuf.ByteString value)Immutable.TagValue.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)TagValue.BuildersetShortName(String value)Required.TagValue.BuildersetShortNameBytes(com.google.protobuf.ByteString value)Required.TagValue.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TagValue.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.TagValue.BuildersetUpdateTime(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, internalGetMapField, internalGetMutableMapField, 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()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TagValue.Builder>
-
clear
public TagValue.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<TagValue.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<TagValue.Builder>
-
getDefaultInstanceForType
public TagValue getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TagValue build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TagValue buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TagValue.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TagValue.Builder>
-
setField
public TagValue.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TagValue.Builder>
-
clearField
public TagValue.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TagValue.Builder>
-
clearOneof
public TagValue.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TagValue.Builder>
-
setRepeatedField
public TagValue.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TagValue.Builder>
-
addRepeatedField
public TagValue.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TagValue.Builder>
-
mergeFrom
public TagValue.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TagValue.Builder>
-
mergeFrom
public TagValue.Builder mergeFrom(TagValue other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TagValue.Builder>
-
mergeFrom
public TagValue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TagValue.Builder>- Throws:
IOException
-
getName
public String getName()
Immutable. Resource name for TagValue in the format `tagValues/456`.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNamein interfaceTagValueOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Immutable. Resource name for TagValue in the format `tagValues/456`.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNameBytesin interfaceTagValueOrBuilder- Returns:
- The bytes for name.
-
setName
public TagValue.Builder setName(String value)
Immutable. Resource name for TagValue in the format `tagValues/456`.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public TagValue.Builder clearName()
Immutable. Resource name for TagValue in the format `tagValues/456`.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
setNameBytes
public TagValue.Builder setNameBytes(com.google.protobuf.ByteString value)
Immutable. Resource name for TagValue in the format `tagValues/456`.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getParent
public String getParent()
Immutable. The resource name of the new TagValue's parent TagKey. Must be of the form `tagKeys/{tag_key_id}`.string parent = 2 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getParentin interfaceTagValueOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()
Immutable. The resource name of the new TagValue's parent TagKey. Must be of the form `tagKeys/{tag_key_id}`.string parent = 2 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getParentBytesin interfaceTagValueOrBuilder- Returns:
- The bytes for parent.
-
setParent
public TagValue.Builder setParent(String value)
Immutable. The resource name of the new TagValue's parent TagKey. Must be of the form `tagKeys/{tag_key_id}`.string parent = 2 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
public TagValue.Builder clearParent()
Immutable. The resource name of the new TagValue's parent TagKey. Must be of the form `tagKeys/{tag_key_id}`.string parent = 2 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
setParentBytes
public TagValue.Builder setParentBytes(com.google.protobuf.ByteString value)
Immutable. The resource name of the new TagValue's parent TagKey. Must be of the form `tagKeys/{tag_key_id}`.string parent = 2 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getShortName
public String getShortName()
Required. Immutable. User-assigned short name for TagValue. The short name should be unique for TagValues within the same parent TagKey. The short name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.
string short_name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getShortNamein interfaceTagValueOrBuilder- Returns:
- The shortName.
-
getShortNameBytes
public com.google.protobuf.ByteString getShortNameBytes()
Required. Immutable. User-assigned short name for TagValue. The short name should be unique for TagValues within the same parent TagKey. The short name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.
string short_name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getShortNameBytesin interfaceTagValueOrBuilder- Returns:
- The bytes for shortName.
-
setShortName
public TagValue.Builder setShortName(String value)
Required. Immutable. User-assigned short name for TagValue. The short name should be unique for TagValues within the same parent TagKey. The short name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.
string short_name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The shortName to set.- Returns:
- This builder for chaining.
-
clearShortName
public TagValue.Builder clearShortName()
Required. Immutable. User-assigned short name for TagValue. The short name should be unique for TagValues within the same parent TagKey. The short name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.
string short_name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
setShortNameBytes
public TagValue.Builder setShortNameBytes(com.google.protobuf.ByteString value)
Required. Immutable. User-assigned short name for TagValue. The short name should be unique for TagValues within the same parent TagKey. The short name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.
string short_name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for shortName to set.- Returns:
- This builder for chaining.
-
getNamespacedName
public String getNamespacedName()
Output only. The namespaced name of the TagValue. Can be in the form `{organization_id}/{tag_key_short_name}/{tag_value_short_name}` or `{project_id}/{tag_key_short_name}/{tag_value_short_name}` or `{project_number}/{tag_key_short_name}/{tag_value_short_name}`.string namespaced_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamespacedNamein interfaceTagValueOrBuilder- Returns:
- The namespacedName.
-
getNamespacedNameBytes
public com.google.protobuf.ByteString getNamespacedNameBytes()
Output only. The namespaced name of the TagValue. Can be in the form `{organization_id}/{tag_key_short_name}/{tag_value_short_name}` or `{project_id}/{tag_key_short_name}/{tag_value_short_name}` or `{project_number}/{tag_key_short_name}/{tag_value_short_name}`.string namespaced_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamespacedNameBytesin interfaceTagValueOrBuilder- Returns:
- The bytes for namespacedName.
-
setNamespacedName
public TagValue.Builder setNamespacedName(String value)
Output only. The namespaced name of the TagValue. Can be in the form `{organization_id}/{tag_key_short_name}/{tag_value_short_name}` or `{project_id}/{tag_key_short_name}/{tag_value_short_name}` or `{project_number}/{tag_key_short_name}/{tag_value_short_name}`.string namespaced_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The namespacedName to set.- Returns:
- This builder for chaining.
-
clearNamespacedName
public TagValue.Builder clearNamespacedName()
Output only. The namespaced name of the TagValue. Can be in the form `{organization_id}/{tag_key_short_name}/{tag_value_short_name}` or `{project_id}/{tag_key_short_name}/{tag_value_short_name}` or `{project_number}/{tag_key_short_name}/{tag_value_short_name}`.string namespaced_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNamespacedNameBytes
public TagValue.Builder setNamespacedNameBytes(com.google.protobuf.ByteString value)
Output only. The namespaced name of the TagValue. Can be in the form `{organization_id}/{tag_key_short_name}/{tag_value_short_name}` or `{project_id}/{tag_key_short_name}/{tag_value_short_name}` or `{project_number}/{tag_key_short_name}/{tag_value_short_name}`.string namespaced_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for namespacedName to set.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
Optional. User-assigned description of the TagValue. Must not exceed 256 characters. Read-write.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceTagValueOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Optional. User-assigned description of the TagValue. Must not exceed 256 characters. Read-write.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceTagValueOrBuilder- Returns:
- The bytes for description.
-
setDescription
public TagValue.Builder setDescription(String value)
Optional. User-assigned description of the TagValue. Must not exceed 256 characters. Read-write.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public TagValue.Builder clearDescription()
Optional. User-assigned description of the TagValue. Must not exceed 256 characters. Read-write.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDescriptionBytes
public TagValue.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Optional. User-assigned description of the TagValue. Must not exceed 256 characters. Read-write.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for description 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:
hasCreateTimein interfaceTagValueOrBuilder- 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:
getCreateTimein interfaceTagValueOrBuilder- Returns:
- The createTime.
-
setCreateTime
public TagValue.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 TagValue.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 TagValue.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 TagValue.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:
getCreateTimeOrBuilderin interfaceTagValueOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Update time.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceTagValueOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. Update time.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceTagValueOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
public TagValue.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Update time.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public TagValue.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Update time.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public TagValue.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Update time.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public TagValue.Builder clearUpdateTime()
Output only. Update time.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Update time.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Update time.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceTagValueOrBuilder
-
getEtag
public String getEtag()
Optional. Entity tag which users can pass to prevent race conditions. This field is always set in server responses. See UpdateTagValueRequest for details.
string etag = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEtagin interfaceTagValueOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
Optional. Entity tag which users can pass to prevent race conditions. This field is always set in server responses. See UpdateTagValueRequest for details.
string etag = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEtagBytesin interfaceTagValueOrBuilder- Returns:
- The bytes for etag.
-
setEtag
public TagValue.Builder setEtag(String value)
Optional. Entity tag which users can pass to prevent race conditions. This field is always set in server responses. See UpdateTagValueRequest for details.
string etag = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
public TagValue.Builder clearEtag()
Optional. Entity tag which users can pass to prevent race conditions. This field is always set in server responses. See UpdateTagValueRequest for details.
string etag = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setEtagBytes
public TagValue.Builder setEtagBytes(com.google.protobuf.ByteString value)
Optional. Entity tag which users can pass to prevent race conditions. This field is always set in server responses. See UpdateTagValueRequest for details.
string etag = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final TagValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TagValue.Builder>
-
mergeUnknownFields
public final TagValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TagValue.Builder>
-
-