Class UpdateGlossaryCategoryRequest.Builder (1.81.0)

public static final class UpdateGlossaryCategoryRequest.Builder extends GeneratedMessage.Builder<UpdateGlossaryCategoryRequest.Builder> implements UpdateGlossaryCategoryRequestOrBuilder

Update GlossaryCategory Request

Protobuf type google.cloud.dataplex.v1.UpdateGlossaryCategoryRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateGlossaryCategoryRequest build()
Returns
Type Description
UpdateGlossaryCategoryRequest

buildPartial()

public UpdateGlossaryCategoryRequest buildPartial()
Returns
Type Description
UpdateGlossaryCategoryRequest

clear()

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

clearCategory()

public UpdateGlossaryCategoryRequest.Builder clearCategory()

Required. The GlossaryCategory to update. The GlossaryCategory's name field is used to identify the GlossaryCategory to update. Format: projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id}

.google.cloud.dataplex.v1.GlossaryCategory category = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateGlossaryCategoryRequest.Builder

clearUpdateMask()

public UpdateGlossaryCategoryRequest.Builder clearUpdateMask()

Required. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateGlossaryCategoryRequest.Builder

getCategory()

public GlossaryCategory getCategory()

Required. The GlossaryCategory to update. The GlossaryCategory's name field is used to identify the GlossaryCategory to update. Format: projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id}

.google.cloud.dataplex.v1.GlossaryCategory category = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GlossaryCategory

The category.

getCategoryBuilder()

public GlossaryCategory.Builder getCategoryBuilder()

Required. The GlossaryCategory to update. The GlossaryCategory's name field is used to identify the GlossaryCategory to update. Format: projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id}

.google.cloud.dataplex.v1.GlossaryCategory category = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GlossaryCategory.Builder

getCategoryOrBuilder()

public GlossaryCategoryOrBuilder getCategoryOrBuilder()

Required. The GlossaryCategory to update. The GlossaryCategory's name field is used to identify the GlossaryCategory to update. Format: projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id}

.google.cloud.dataplex.v1.GlossaryCategory category = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GlossaryCategoryOrBuilder

getDefaultInstanceForType()

public UpdateGlossaryCategoryRequest getDefaultInstanceForType()
Returns
Type Description
UpdateGlossaryCategoryRequest

getDescriptorForType()

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

getUpdateMask()

public FieldMask getUpdateMask()

Required. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasCategory()

public boolean hasCategory()

Required. The GlossaryCategory to update. The GlossaryCategory's name field is used to identify the GlossaryCategory to update. Format: projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id}

.google.cloud.dataplex.v1.GlossaryCategory category = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the category field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCategory(GlossaryCategory value)

public UpdateGlossaryCategoryRequest.Builder mergeCategory(GlossaryCategory value)

Required. The GlossaryCategory to update. The GlossaryCategory's name field is used to identify the GlossaryCategory to update. Format: projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id}

.google.cloud.dataplex.v1.GlossaryCategory category = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GlossaryCategory
Returns
Type Description
UpdateGlossaryCategoryRequest.Builder

mergeFrom(UpdateGlossaryCategoryRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUpdateMask(FieldMask value)

public UpdateGlossaryCategoryRequest.Builder mergeUpdateMask(FieldMask value)

Required. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateGlossaryCategoryRequest.Builder

setCategory(GlossaryCategory value)

public UpdateGlossaryCategoryRequest.Builder setCategory(GlossaryCategory value)

Required. The GlossaryCategory to update. The GlossaryCategory's name field is used to identify the GlossaryCategory to update. Format: projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id}

.google.cloud.dataplex.v1.GlossaryCategory category = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GlossaryCategory
Returns
Type Description
UpdateGlossaryCategoryRequest.Builder

setCategory(GlossaryCategory.Builder builderForValue)

public UpdateGlossaryCategoryRequest.Builder setCategory(GlossaryCategory.Builder builderForValue)

Required. The GlossaryCategory to update. The GlossaryCategory's name field is used to identify the GlossaryCategory to update. Format: projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id}

.google.cloud.dataplex.v1.GlossaryCategory category = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue GlossaryCategory.Builder
Returns
Type Description
UpdateGlossaryCategoryRequest.Builder

setUpdateMask(FieldMask value)

public UpdateGlossaryCategoryRequest.Builder setUpdateMask(FieldMask value)

Required. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateGlossaryCategoryRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateGlossaryCategoryRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateGlossaryCategoryRequest.Builder