Class ReplaceTaxonomyRequest.Builder (1.60.0)

public static final class ReplaceTaxonomyRequest.Builder extends GeneratedMessageV3.Builder<ReplaceTaxonomyRequest.Builder> implements ReplaceTaxonomyRequestOrBuilder

Request message for ReplaceTaxonomy.

Protobuf type google.cloud.datacatalog.v1.ReplaceTaxonomyRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReplaceTaxonomyRequest build()
Returns
Type Description
ReplaceTaxonomyRequest

buildPartial()

public ReplaceTaxonomyRequest buildPartial()
Returns
Type Description
ReplaceTaxonomyRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ReplaceTaxonomyRequest.Builder clearName()

Required. Resource name of the taxonomy to update.

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

Returns
Type Description
ReplaceTaxonomyRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSerializedTaxonomy()

public ReplaceTaxonomyRequest.Builder clearSerializedTaxonomy()

Required. Taxonomy to update along with its child policy tags.

.google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReplaceTaxonomyRequest.Builder

clone()

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

getDefaultInstanceForType()

public ReplaceTaxonomyRequest getDefaultInstanceForType()
Returns
Type Description
ReplaceTaxonomyRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Resource name of the taxonomy to update.

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 update.

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

Returns
Type Description
ByteString

The bytes for name.

getSerializedTaxonomy()

public SerializedTaxonomy getSerializedTaxonomy()

Required. Taxonomy to update along with its child policy tags.

.google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SerializedTaxonomy

The serializedTaxonomy.

getSerializedTaxonomyBuilder()

public SerializedTaxonomy.Builder getSerializedTaxonomyBuilder()

Required. Taxonomy to update along with its child policy tags.

.google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SerializedTaxonomy.Builder

getSerializedTaxonomyOrBuilder()

public SerializedTaxonomyOrBuilder getSerializedTaxonomyOrBuilder()

Required. Taxonomy to update along with its child policy tags.

.google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SerializedTaxonomyOrBuilder

hasSerializedTaxonomy()

public boolean hasSerializedTaxonomy()

Required. Taxonomy to update along with its child policy tags.

.google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the serializedTaxonomy field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReplaceTaxonomyRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSerializedTaxonomy(SerializedTaxonomy value)

public ReplaceTaxonomyRequest.Builder mergeSerializedTaxonomy(SerializedTaxonomy value)

Required. Taxonomy to update along with its child policy tags.

.google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SerializedTaxonomy
Returns
Type Description
ReplaceTaxonomyRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ReplaceTaxonomyRequest.Builder setName(String value)

Required. Resource name of the taxonomy to update.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ReplaceTaxonomyRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ReplaceTaxonomyRequest.Builder setNameBytes(ByteString value)

Required. Resource name of the taxonomy to update.

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

This builder for chaining.

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

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

setSerializedTaxonomy(SerializedTaxonomy value)

public ReplaceTaxonomyRequest.Builder setSerializedTaxonomy(SerializedTaxonomy value)

Required. Taxonomy to update along with its child policy tags.

.google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SerializedTaxonomy
Returns
Type Description
ReplaceTaxonomyRequest.Builder

setSerializedTaxonomy(SerializedTaxonomy.Builder builderForValue)

public ReplaceTaxonomyRequest.Builder setSerializedTaxonomy(SerializedTaxonomy.Builder builderForValue)

Required. Taxonomy to update along with its child policy tags.

.google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue SerializedTaxonomy.Builder
Returns
Type Description
ReplaceTaxonomyRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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