public static final class GetNamespacedTagValueRequest.Builder extends GeneratedMessage.Builder<GetNamespacedTagValueRequest.Builder> implements GetNamespacedTagValueRequestOrBuilderThe request message for getting a TagValue by its namespaced name.
Protobuf type google.cloud.resourcemanager.v3.GetNamespacedTagValueRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetNamespacedTagValueRequest.BuilderImplements
GetNamespacedTagValueRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearName()
public GetNamespacedTagValueRequest.Builder clearName()Required. A namespaced tag value name in the following format:
{parentId}/{tagKeyShort}/{tagValueShort}
Examples:
42/foo/abcfor a value with short name "abc" under the key with short name "foo" under the organization with ID 42r2-d2/bar/xyzfor 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. |
getDefaultInstanceForType()
public GetNamespacedTagValueRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetNamespacedTagValueRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. A namespaced tag value name in the following format:
{parentId}/{tagKeyShort}/{tagValueShort}
Examples:
42/foo/abcfor a value with short name "abc" under the key with short name "foo" under the organization with ID 42r2-d2/bar/xyzfor 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/abcfor a value with short name "abc" under the key with short name "foo" under the organization with ID 42r2-d2/bar/xyzfor 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetNamespacedTagValueRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetNamespacedTagValueRequest.Builder |
|
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/abcfor a value with short name "abc" under the key with short name "foo" under the organization with ID 42r2-d2/bar/xyzfor 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 |
StringThe 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/abcfor a value with short name "abc" under the key with short name "foo" under the organization with ID 42r2-d2/bar/xyzfor 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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
GetNamespacedTagValueRequest.Builder |
This builder for chaining. |