Class ReplaceTaxonomyRequest.Builder (1.8.2)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReplaceTaxonomyRequest build()
Returns
TypeDescription
ReplaceTaxonomyRequest

buildPartial()

public ReplaceTaxonomyRequest buildPartial()
Returns
TypeDescription
ReplaceTaxonomyRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ReplaceTaxonomyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ReplaceTaxonomyRequest.Builder

clone()

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

getDefaultInstanceForType()

public ReplaceTaxonomyRequest getDefaultInstanceForType()
Returns
TypeDescription
ReplaceTaxonomyRequest

getDescriptorForType()

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

Whether the serializedTaxonomy field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReplaceTaxonomyRequest other)

public ReplaceTaxonomyRequest.Builder mergeFrom(ReplaceTaxonomyRequest other)
Parameter
NameDescription
otherReplaceTaxonomyRequest
Returns
TypeDescription
ReplaceTaxonomyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ReplaceTaxonomyRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueSerializedTaxonomy
Returns
TypeDescription
ReplaceTaxonomyRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueSerializedTaxonomy
Returns
TypeDescription
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
NameDescription
builderForValueSerializedTaxonomy.Builder
Returns
TypeDescription
ReplaceTaxonomyRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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