public final class CreateTagValueRequest extends GeneratedMessageV3 implements CreateTagValueRequestOrBuilder
The request message for creating a TagValue.
Protobuf type google.cloud.resourcemanager.v3.CreateTagValueRequest
Static Fields
TAG_VALUE_FIELD_NUMBER
public static final int TAG_VALUE_FIELD_NUMBER
Field Value
VALIDATE_ONLY_FIELD_NUMBER
public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CreateTagValueRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CreateTagValueRequest.Builder newBuilder()
Returns
newBuilder(CreateTagValueRequest prototype)
public static CreateTagValueRequest.Builder newBuilder(CreateTagValueRequest prototype)
Parameter
Returns
public static CreateTagValueRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateTagValueRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CreateTagValueRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateTagValueRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CreateTagValueRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateTagValueRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateTagValueRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CreateTagValueRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateTagValueRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateTagValueRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CreateTagValueRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateTagValueRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CreateTagValueRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CreateTagValueRequest getDefaultInstanceForType()
Returns
getParserForType()
public Parser<CreateTagValueRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTagValue()
public TagValue getTagValue()
Required. The TagValue to be created. Only fields short_name
, description
,
and parent
are considered during the creation request.
.google.cloud.resourcemanager.v3.TagValue tag_value = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getTagValueOrBuilder()
public TagValueOrBuilder getTagValueOrBuilder()
Required. The TagValue to be created. Only fields short_name
, description
,
and parent
are considered during the creation request.
.google.cloud.resourcemanager.v3.TagValue tag_value = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getValidateOnly()
public boolean getValidateOnly()
Optional. Set as true to perform the validations necessary for creating the resource,
but not actually perform the action.
bool validate_only = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | The validateOnly.
|
hasTagValue()
public boolean hasTagValue()
Required. The TagValue to be created. Only fields short_name
, description
,
and parent
are considered during the creation request.
.google.cloud.resourcemanager.v3.TagValue tag_value = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the tagValue field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CreateTagValueRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateTagValueRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CreateTagValueRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions