public final class UpdateTagValueRequest extends GeneratedMessageV3 implements UpdateTagValueRequestOrBuilder
The request message for updating a TagValue.
Protobuf type google.cloud.resourcemanager.v3.UpdateTagValueRequest
Static Fields
TAG_VALUE_FIELD_NUMBER
public static final int TAG_VALUE_FIELD_NUMBER
Field Value
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
VALIDATE_ONLY_FIELD_NUMBER
public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static UpdateTagValueRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static UpdateTagValueRequest.Builder newBuilder()
Returns
newBuilder(UpdateTagValueRequest prototype)
public static UpdateTagValueRequest.Builder newBuilder(UpdateTagValueRequest prototype)
Parameter
Returns
public static UpdateTagValueRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateTagValueRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static UpdateTagValueRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateTagValueRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static UpdateTagValueRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateTagValueRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateTagValueRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UpdateTagValueRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateTagValueRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateTagValueRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static UpdateTagValueRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateTagValueRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<UpdateTagValueRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public UpdateTagValueRequest getDefaultInstanceForType()
Returns
getParserForType()
public Parser<UpdateTagValueRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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,
FAILED_PRECONDITION
will be returned.
.google.cloud.resourcemanager.v3.TagValue tag_value = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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,
FAILED_PRECONDITION
will be returned.
.google.cloud.resourcemanager.v3.TagValue tag_value = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
Optional. Fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. Fields to be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
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,
FAILED_PRECONDITION
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public UpdateTagValueRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateTagValueRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public UpdateTagValueRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions