Class UpdateTaxonomyRequest.Builder (1.54.0)

public static final class UpdateTaxonomyRequest.Builder extends GeneratedMessageV3.Builder<UpdateTaxonomyRequest.Builder> implements UpdateTaxonomyRequestOrBuilder

Request message for UpdateTaxonomy.

Protobuf type google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateTaxonomyRequest build()
Returns
Type Description
UpdateTaxonomyRequest

buildPartial()

public UpdateTaxonomyRequest buildPartial()
Returns
Type Description
UpdateTaxonomyRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTaxonomy()

public UpdateTaxonomyRequest.Builder clearTaxonomy()

The taxonomy to update. Only description, display_name, and activated policy types can be updated.

.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1;

Returns
Type Description
UpdateTaxonomyRequest.Builder

clearUpdateMask()

public UpdateTaxonomyRequest.Builder clearUpdateMask()

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateTaxonomyRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateTaxonomyRequest getDefaultInstanceForType()
Returns
Type Description
UpdateTaxonomyRequest

getDescriptorForType()

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

getTaxonomy()

public Taxonomy getTaxonomy()

The taxonomy to update. Only description, display_name, and activated policy types can be updated.

.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1;

Returns
Type Description
Taxonomy

The taxonomy.

getTaxonomyBuilder()

public Taxonomy.Builder getTaxonomyBuilder()

The taxonomy to update. Only description, display_name, and activated policy types can be updated.

.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1;

Returns
Type Description
Taxonomy.Builder

getTaxonomyOrBuilder()

public TaxonomyOrBuilder getTaxonomyOrBuilder()

The taxonomy to update. Only description, display_name, and activated policy types can be updated.

.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1;

Returns
Type Description
TaxonomyOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasTaxonomy()

public boolean hasTaxonomy()

The taxonomy to update. Only description, display_name, and activated policy types can be updated.

.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1;

Returns
Type Description
boolean

Whether the taxonomy field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateTaxonomyRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTaxonomy(Taxonomy value)

public UpdateTaxonomyRequest.Builder mergeTaxonomy(Taxonomy value)

The taxonomy to update. Only description, display_name, and activated policy types can be updated.

.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1;

Parameter
Name Description
value Taxonomy
Returns
Type Description
UpdateTaxonomyRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateTaxonomyRequest.Builder mergeUpdateMask(FieldMask value)

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateTaxonomyRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTaxonomy(Taxonomy value)

public UpdateTaxonomyRequest.Builder setTaxonomy(Taxonomy value)

The taxonomy to update. Only description, display_name, and activated policy types can be updated.

.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1;

Parameter
Name Description
value Taxonomy
Returns
Type Description
UpdateTaxonomyRequest.Builder

setTaxonomy(Taxonomy.Builder builderForValue)

public UpdateTaxonomyRequest.Builder setTaxonomy(Taxonomy.Builder builderForValue)

The taxonomy to update. Only description, display_name, and activated policy types can be updated.

.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1;

Parameter
Name Description
builderForValue Taxonomy.Builder
Returns
Type Description
UpdateTaxonomyRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateTaxonomyRequest.Builder setUpdateMask(FieldMask value)

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateTaxonomyRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateTaxonomyRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateTaxonomyRequest.Builder