Class CreateTagValueRequest (1.32.0)

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
TypeDescription
int

VALIDATE_ONLY_FIELD_NUMBER

public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateTagValueRequest getDefaultInstance()
Returns
TypeDescription
CreateTagValueRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CreateTagValueRequest.Builder newBuilder()
Returns
TypeDescription
CreateTagValueRequest.Builder

newBuilder(CreateTagValueRequest prototype)

public static CreateTagValueRequest.Builder newBuilder(CreateTagValueRequest prototype)
Parameter
NameDescription
prototypeCreateTagValueRequest
Returns
TypeDescription
CreateTagValueRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateTagValueRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateTagValueRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateTagValueRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateTagValueRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateTagValueRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateTagValueRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateTagValueRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateTagValueRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateTagValueRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateTagValueRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateTagValueRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateTagValueRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateTagValueRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateTagValueRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateTagValueRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateTagValueRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateTagValueRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateTagValueRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateTagValueRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateTagValueRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateTagValueRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateTagValueRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateTagValueRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateTagValueRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreateTagValueRequest> parser()
Returns
TypeDescription
Parser<CreateTagValueRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CreateTagValueRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateTagValueRequest

getParserForType()

public Parser<CreateTagValueRequest> getParserForType()
Returns
TypeDescription
Parser<CreateTagValueRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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
TypeDescription
TagValue

The tagValue.

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
TypeDescription
TagValueOrBuilder

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
TypeDescription
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
TypeDescription
boolean

Whether the tagValue field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreateTagValueRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateTagValueRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateTagValueRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateTagValueRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CreateTagValueRequest.Builder toBuilder()
Returns
TypeDescription
CreateTagValueRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException