Class GetPolicyTagRequest.Builder (1.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetPolicyTagRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetPolicyTagRequest.Builder
Overrides

build()

public GetPolicyTagRequest build()
Returns
TypeDescription
GetPolicyTagRequest

buildPartial()

public GetPolicyTagRequest buildPartial()
Returns
TypeDescription
GetPolicyTagRequest

clear()

public GetPolicyTagRequest.Builder clear()
Returns
TypeDescription
GetPolicyTagRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetPolicyTagRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GetPolicyTagRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetPolicyTagRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetPolicyTagRequest.Builder
Overrides

clone()

public GetPolicyTagRequest.Builder clone()
Returns
TypeDescription
GetPolicyTagRequest.Builder
Overrides

getDefaultInstanceForType()

public GetPolicyTagRequest getDefaultInstanceForType()
Returns
TypeDescription
GetPolicyTagRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetPolicyTagRequest other)

public GetPolicyTagRequest.Builder mergeFrom(GetPolicyTagRequest other)
Parameter
NameDescription
otherGetPolicyTagRequest
Returns
TypeDescription
GetPolicyTagRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetPolicyTagRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetPolicyTagRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetPolicyTagRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetPolicyTagRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetPolicyTagRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetPolicyTagRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetPolicyTagRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetPolicyTagRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetPolicyTagRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetPolicyTagRequest.Builder
Overrides