Class GetTaxonomyRequest.Builder (1.48.0)

public static final class GetTaxonomyRequest.Builder extends GeneratedMessageV3.Builder<GetTaxonomyRequest.Builder> implements GetTaxonomyRequestOrBuilder

Request message for GetTaxonomy.

Protobuf type google.cloud.datacatalog.v1.GetTaxonomyRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetTaxonomyRequest build()
Returns
Type Description
GetTaxonomyRequest

buildPartial()

public GetTaxonomyRequest buildPartial()
Returns
Type Description
GetTaxonomyRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetTaxonomyRequest.Builder clearName()

Required. Resource name of the taxonomy to get.

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

Returns
Type Description
GetTaxonomyRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetTaxonomyRequest getDefaultInstanceForType()
Returns
Type Description
GetTaxonomyRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Resource name of the taxonomy to get.

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 taxonomy to get.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetTaxonomyRequest.Builder setName(String value)

Required. Resource name of the taxonomy to get.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetTaxonomyRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetTaxonomyRequest.Builder setNameBytes(ByteString value)

Required. Resource name of the taxonomy to get.

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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