Class GetPolicyTagRequest.Builder (1.54.0)

public static final class GetPolicyTagRequest.Builder extends GeneratedMessageV3.Builder<GetPolicyTagRequest.Builder> implements GetPolicyTagRequestOrBuilder

Request message for GetPolicyTag.

Protobuf type google.cloud.datacatalog.v1beta1.GetPolicyTagRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetPolicyTagRequest build()
Returns
Type Description
GetPolicyTagRequest

buildPartial()

public GetPolicyTagRequest buildPartial()
Returns
Type Description
GetPolicyTagRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetPolicyTagRequest.Builder clearName()

Required. Resource name of the requested policy tag.

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

Returns
Type Description
GetPolicyTagRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetPolicyTagRequest getDefaultInstanceForType()
Returns
Type Description
GetPolicyTagRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Resource name of the requested policy tag.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Resource name of the requested policy tag.

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(GetPolicyTagRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetPolicyTagRequest.Builder setName(String value)

Required. Resource name of the requested policy tag.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetPolicyTagRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetPolicyTagRequest.Builder setNameBytes(ByteString value)

Required. Resource name of the requested policy tag.

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
GetPolicyTagRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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