Class UpdateTaxonomyRequest.Builder (1.8.4)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateTaxonomyRequest build()
Returns
TypeDescription
UpdateTaxonomyRequest

buildPartial()

public UpdateTaxonomyRequest buildPartial()
Returns
TypeDescription
UpdateTaxonomyRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public UpdateTaxonomyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateTaxonomyRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public UpdateTaxonomyRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateTaxonomyRequest

getDescriptorForType()

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

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateTaxonomyRequest other)

public UpdateTaxonomyRequest.Builder mergeFrom(UpdateTaxonomyRequest other)
Parameter
NameDescription
otherUpdateTaxonomyRequest
Returns
TypeDescription
UpdateTaxonomyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateTaxonomyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateTaxonomyRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public UpdateTaxonomyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTaxonomy
Returns
TypeDescription
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
NameDescription
builderForValueTaxonomy.Builder
Returns
TypeDescription
UpdateTaxonomyRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateTaxonomyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateTaxonomyRequest.Builder