public final class UpdateTagValueRequest extends GeneratedMessageV3 implements UpdateTagValueRequestOrBuilder
The request message for updating a TagValue.
Protobuf type google.cloud.resourcemanager.v3.UpdateTagValueRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
TAG_VALUE_FIELD_NUMBER
public static final int TAG_VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VALIDATE_ONLY_FIELD_NUMBER
public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static UpdateTagValueRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UpdateTagValueRequest.Builder newBuilder()
newBuilder(UpdateTagValueRequest prototype)
public static UpdateTagValueRequest.Builder newBuilder(UpdateTagValueRequest prototype)
public static UpdateTagValueRequest parseDelimitedFrom(InputStream input)
public static UpdateTagValueRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UpdateTagValueRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateTagValueRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UpdateTagValueRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateTagValueRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateTagValueRequest parseFrom(CodedInputStream input)
public static UpdateTagValueRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateTagValueRequest parseFrom(InputStream input)
public static UpdateTagValueRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UpdateTagValueRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateTagValueRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UpdateTagValueRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public UpdateTagValueRequest getDefaultInstanceForType()
getParserForType()
public Parser<UpdateTagValueRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getTagValue()
public TagValue getTagValue()
Required. The new definition of the TagValue. Only fields description
and
etag
fields can be updated by this request. If the etag
field is
nonempty, it must match the etag
field of the existing ControlGroup.
Otherwise, ABORTED
will be returned.
.google.cloud.resourcemanager.v3.TagValue tag_value = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
TagValue |
The tagValue.
|
getTagValueOrBuilder()
public TagValueOrBuilder getTagValueOrBuilder()
Required. The new definition of the TagValue. Only fields description
and
etag
fields can be updated by this request. If the etag
field is
nonempty, it must match the etag
field of the existing ControlGroup.
Otherwise, ABORTED
will be returned.
.google.cloud.resourcemanager.v3.TagValue tag_value = 1 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask()
public FieldMask getUpdateMask()
Optional. Fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. Fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
getValidateOnly()
public boolean getValidateOnly()
Optional. True to perform validations necessary for updating the resource,
but not actually perform the action.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
The validateOnly.
|
hasTagValue()
public boolean hasTagValue()
Required. The new definition of the TagValue. Only fields description
and
etag
fields can be updated by this request. If the etag
field is
nonempty, it must match the etag
field of the existing ControlGroup.
Otherwise, ABORTED
will be returned.
.google.cloud.resourcemanager.v3.TagValue tag_value = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the tagValue field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Optional. Fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UpdateTagValueRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateTagValueRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public UpdateTagValueRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides