Class UpdateGlossaryTermRequest.Builder (1.81.0)

public static final class UpdateGlossaryTermRequest.Builder extends GeneratedMessage.Builder<UpdateGlossaryTermRequest.Builder> implements UpdateGlossaryTermRequestOrBuilder

Update GlossaryTerm Request

Protobuf type google.cloud.dataplex.v1.UpdateGlossaryTermRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateGlossaryTermRequest build()
Returns
Type Description
UpdateGlossaryTermRequest

buildPartial()

public UpdateGlossaryTermRequest buildPartial()
Returns
Type Description
UpdateGlossaryTermRequest

clear()

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

clearTerm()

public UpdateGlossaryTermRequest.Builder clearTerm()

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

.google.cloud.dataplex.v1.GlossaryTerm term = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateGlossaryTermRequest.Builder

clearUpdateMask()

public UpdateGlossaryTermRequest.Builder clearUpdateMask()

Required. The list of fields to update.

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

Returns
Type Description
UpdateGlossaryTermRequest.Builder

getDefaultInstanceForType()

public UpdateGlossaryTermRequest getDefaultInstanceForType()
Returns
Type Description
UpdateGlossaryTermRequest

getDescriptorForType()

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

getTerm()

public GlossaryTerm getTerm()

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

.google.cloud.dataplex.v1.GlossaryTerm term = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GlossaryTerm

The term.

getTermBuilder()

public GlossaryTerm.Builder getTermBuilder()

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

.google.cloud.dataplex.v1.GlossaryTerm term = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GlossaryTerm.Builder

getTermOrBuilder()

public GlossaryTermOrBuilder getTermOrBuilder()

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

.google.cloud.dataplex.v1.GlossaryTerm term = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GlossaryTermOrBuilder

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

hasTerm()

public boolean hasTerm()

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

.google.cloud.dataplex.v1.GlossaryTerm term = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the term 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

mergeFrom(UpdateGlossaryTermRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTerm(GlossaryTerm value)

public UpdateGlossaryTermRequest.Builder mergeTerm(GlossaryTerm value)

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

.google.cloud.dataplex.v1.GlossaryTerm term = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GlossaryTerm
Returns
Type Description
UpdateGlossaryTermRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateGlossaryTermRequest.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
UpdateGlossaryTermRequest.Builder

setTerm(GlossaryTerm value)

public UpdateGlossaryTermRequest.Builder setTerm(GlossaryTerm value)

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

.google.cloud.dataplex.v1.GlossaryTerm term = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GlossaryTerm
Returns
Type Description
UpdateGlossaryTermRequest.Builder

setTerm(GlossaryTerm.Builder builderForValue)

public UpdateGlossaryTermRequest.Builder setTerm(GlossaryTerm.Builder builderForValue)

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

.google.cloud.dataplex.v1.GlossaryTerm term = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue GlossaryTerm.Builder
Returns
Type Description
UpdateGlossaryTermRequest.Builder

setUpdateMask(FieldMask value)

public UpdateGlossaryTermRequest.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
UpdateGlossaryTermRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateGlossaryTermRequest.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
UpdateGlossaryTermRequest.Builder