public static final class UpdateTagKeyRequest.Builder extends GeneratedMessageV3.Builder<UpdateTagKeyRequest.Builder> implements UpdateTagKeyRequestOrBuilder
The request message for updating a TagKey.
Protobuf type google.cloud.resourcemanager.v3.UpdateTagKeyRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateTagKeyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateTagKeyRequest build()
buildPartial()
public UpdateTagKeyRequest buildPartial()
clear()
public UpdateTagKeyRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateTagKeyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateTagKeyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTagKey()
public UpdateTagKeyRequest.Builder clearTagKey()
Required. The new definition of the TagKey. Only the description
and
etag
fields can be updated by this request. If the etag
field is not
empty, it must match the etag
field of the existing tag key. Otherwise,
ABORTED
will be returned.
.google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
clearUpdateMask()
public UpdateTagKeyRequest.Builder clearUpdateMask()
Fields to be updated. The mask may only contain description
or
etag
. If omitted entirely, both description
and etag
are assumed to
be significant.
.google.protobuf.FieldMask update_mask = 2;
clearValidateOnly()
public UpdateTagKeyRequest.Builder clearValidateOnly()
Set as true to perform validations necessary for updating the resource, but
not actually perform the action.
bool validate_only = 3;
clone()
public UpdateTagKeyRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateTagKeyRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getTagKey()
public TagKey getTagKey()
Required. The new definition of the TagKey. Only the description
and
etag
fields can be updated by this request. If the etag
field is not
empty, it must match the etag
field of the existing tag key. Otherwise,
ABORTED
will be returned.
.google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
TagKey |
The tagKey.
|
getTagKeyBuilder()
public TagKey.Builder getTagKeyBuilder()
Required. The new definition of the TagKey. Only the description
and
etag
fields can be updated by this request. If the etag
field is not
empty, it must match the etag
field of the existing tag key. Otherwise,
ABORTED
will be returned.
.google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
getTagKeyOrBuilder()
public TagKeyOrBuilder getTagKeyOrBuilder()
Required. The new definition of the TagKey. Only the description
and
etag
fields can be updated by this request. If the etag
field is not
empty, it must match the etag
field of the existing tag key. Otherwise,
ABORTED
will be returned.
.google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask()
public FieldMask getUpdateMask()
Fields to be updated. The mask may only contain description
or
etag
. If omitted entirely, both description
and etag
are assumed to
be significant.
.google.protobuf.FieldMask update_mask = 2;
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Fields to be updated. The mask may only contain description
or
etag
. If omitted entirely, both description
and etag
are assumed to
be significant.
.google.protobuf.FieldMask update_mask = 2;
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Fields to be updated. The mask may only contain description
or
etag
. If omitted entirely, both description
and etag
are assumed to
be significant.
.google.protobuf.FieldMask update_mask = 2;
getValidateOnly()
public boolean getValidateOnly()
Set as true to perform validations necessary for updating the resource, but
not actually perform the action.
bool validate_only = 3;
Returns |
Type |
Description |
boolean |
The validateOnly.
|
hasTagKey()
public boolean hasTagKey()
Required. The new definition of the TagKey. Only the description
and
etag
fields can be updated by this request. If the etag
field is not
empty, it must match the etag
field of the existing tag key. Otherwise,
ABORTED
will be returned.
.google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the tagKey field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Fields to be updated. The mask may only contain description
or
etag
. If omitted entirely, both description
and etag
are assumed to
be significant.
.google.protobuf.FieldMask update_mask = 2;
Returns |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateTagKeyRequest other)
public UpdateTagKeyRequest.Builder mergeFrom(UpdateTagKeyRequest other)
public UpdateTagKeyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateTagKeyRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeTagKey(TagKey value)
public UpdateTagKeyRequest.Builder mergeTagKey(TagKey value)
Required. The new definition of the TagKey. Only the description
and
etag
fields can be updated by this request. If the etag
field is not
empty, it must match the etag
field of the existing tag key. Otherwise,
ABORTED
will be returned.
.google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
TagKey
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateTagKeyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateTagKeyRequest.Builder mergeUpdateMask(FieldMask value)
Fields to be updated. The mask may only contain description
or
etag
. If omitted entirely, both description
and etag
are assumed to
be significant.
.google.protobuf.FieldMask update_mask = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateTagKeyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateTagKeyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTagKey(TagKey value)
public UpdateTagKeyRequest.Builder setTagKey(TagKey value)
Required. The new definition of the TagKey. Only the description
and
etag
fields can be updated by this request. If the etag
field is not
empty, it must match the etag
field of the existing tag key. Otherwise,
ABORTED
will be returned.
.google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
TagKey
|
setTagKey(TagKey.Builder builderForValue)
public UpdateTagKeyRequest.Builder setTagKey(TagKey.Builder builderForValue)
Required. The new definition of the TagKey. Only the description
and
etag
fields can be updated by this request. If the etag
field is not
empty, it must match the etag
field of the existing tag key. Otherwise,
ABORTED
will be returned.
.google.cloud.resourcemanager.v3.TagKey tag_key = 1 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateTagKeyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateTagKeyRequest.Builder setUpdateMask(FieldMask value)
Fields to be updated. The mask may only contain description
or
etag
. If omitted entirely, both description
and etag
are assumed to
be significant.
.google.protobuf.FieldMask update_mask = 2;
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateTagKeyRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Fields to be updated. The mask may only contain description
or
etag
. If omitted entirely, both description
and etag
are assumed to
be significant.
.google.protobuf.FieldMask update_mask = 2;
Parameter |
Name |
Description |
builderForValue |
Builder
|
setValidateOnly(boolean value)
public UpdateTagKeyRequest.Builder setValidateOnly(boolean value)
Set as true to perform validations necessary for updating the resource, but
not actually perform the action.
bool validate_only = 3;
Parameter |
Name |
Description |
value |
boolean
The validateOnly to set.
|