Class GetNamespacedTagValueRequest.Builder (1.46.0)

public static final class GetNamespacedTagValueRequest.Builder extends GeneratedMessageV3.Builder<GetNamespacedTagValueRequest.Builder> implements GetNamespacedTagValueRequestOrBuilder

The request message for getting a TagValue by its namespaced name.

Protobuf type google.cloud.resourcemanager.v3.GetNamespacedTagValueRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetNamespacedTagValueRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetNamespacedTagValueRequest.Builder
Overrides

build()

public GetNamespacedTagValueRequest build()
Returns
Type Description
GetNamespacedTagValueRequest

buildPartial()

public GetNamespacedTagValueRequest buildPartial()
Returns
Type Description
GetNamespacedTagValueRequest

clear()

public GetNamespacedTagValueRequest.Builder clear()
Returns
Type Description
GetNamespacedTagValueRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetNamespacedTagValueRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetNamespacedTagValueRequest.Builder
Overrides

clearName()

public GetNamespacedTagValueRequest.Builder clearName()

Required. A namespaced tag value name in the following format:

{parentId}/{tagKeyShort}/{tagValueShort}

Examples:

  • 42/foo/abc for a value with short name "abc" under the key with short name "foo" under the organization with ID 42
  • r2-d2/bar/xyz for a value with short name "xyz" under the key with short name "bar" under the project with ID "r2-d2"

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GetNamespacedTagValueRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetNamespacedTagValueRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetNamespacedTagValueRequest.Builder
Overrides

clone()

public GetNamespacedTagValueRequest.Builder clone()
Returns
Type Description
GetNamespacedTagValueRequest.Builder
Overrides

getDefaultInstanceForType()

public GetNamespacedTagValueRequest getDefaultInstanceForType()
Returns
Type Description
GetNamespacedTagValueRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. A namespaced tag value name in the following format:

{parentId}/{tagKeyShort}/{tagValueShort}

Examples:

  • 42/foo/abc for a value with short name "abc" under the key with short name "foo" under the organization with ID 42
  • r2-d2/bar/xyz for a value with short name "xyz" under the key with short name "bar" under the project with ID "r2-d2"

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. A namespaced tag value name in the following format:

{parentId}/{tagKeyShort}/{tagValueShort}

Examples:

  • 42/foo/abc for a value with short name "abc" under the key with short name "foo" under the organization with ID 42
  • r2-d2/bar/xyz for a value with short name "xyz" under the key with short name "bar" under the project with ID "r2-d2"

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetNamespacedTagValueRequest other)

public GetNamespacedTagValueRequest.Builder mergeFrom(GetNamespacedTagValueRequest other)
Parameter
Name Description
other GetNamespacedTagValueRequest
Returns
Type Description
GetNamespacedTagValueRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetNamespacedTagValueRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetNamespacedTagValueRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetNamespacedTagValueRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetNamespacedTagValueRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetNamespacedTagValueRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetNamespacedTagValueRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetNamespacedTagValueRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetNamespacedTagValueRequest.Builder
Overrides

setName(String value)

public GetNamespacedTagValueRequest.Builder setName(String value)

Required. A namespaced tag value name in the following format:

{parentId}/{tagKeyShort}/{tagValueShort}

Examples:

  • 42/foo/abc for a value with short name "abc" under the key with short name "foo" under the organization with ID 42
  • r2-d2/bar/xyz for a value with short name "xyz" under the key with short name "bar" under the project with ID "r2-d2"

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetNamespacedTagValueRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetNamespacedTagValueRequest.Builder setNameBytes(ByteString value)

Required. A namespaced tag value name in the following format:

{parentId}/{tagKeyShort}/{tagValueShort}

Examples:

  • 42/foo/abc for a value with short name "abc" under the key with short name "foo" under the organization with ID 42
  • r2-d2/bar/xyz for a value with short name "xyz" under the key with short name "bar" under the project with ID "r2-d2"

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetNamespacedTagValueRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetNamespacedTagValueRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetNamespacedTagValueRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetNamespacedTagValueRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetNamespacedTagValueRequest.Builder
Overrides