Class CreateTagValueRequest (1.46.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
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 CreateTagValueRequest getDefaultInstance()
Returns
Type Description
CreateTagValueRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CreateTagValueRequest.Builder newBuilder()
Returns
Type Description
CreateTagValueRequest.Builder

newBuilder(CreateTagValueRequest prototype)

public static CreateTagValueRequest.Builder newBuilder(CreateTagValueRequest prototype)
Parameter
Name Description
prototype CreateTagValueRequest
Returns
Type Description
CreateTagValueRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateTagValueRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateTagValueRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateTagValueRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateTagValueRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CreateTagValueRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CreateTagValueRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateTagValueRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateTagValueRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateTagValueRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CreateTagValueRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateTagValueRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateTagValueRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateTagValueRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CreateTagValueRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateTagValueRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateTagValueRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CreateTagValueRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateTagValueRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateTagValueRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateTagValueRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CreateTagValueRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CreateTagValueRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateTagValueRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateTagValueRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CreateTagValueRequest> parser()
Returns
Type Description
Parser<CreateTagValueRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CreateTagValueRequest getDefaultInstanceForType()
Returns
Type Description
CreateTagValueRequest

getParserForType()

public Parser<CreateTagValueRequest> getParserForType()
Returns
Type Description
Parser<CreateTagValueRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
Type Description
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
Type Description
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
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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CreateTagValueRequest.Builder newBuilderForType()
Returns
Type Description
CreateTagValueRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateTagValueRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CreateTagValueRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CreateTagValueRequest.Builder toBuilder()
Returns
Type Description
CreateTagValueRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException