Class UpdateGlossaryEntryRequest.Builder (2.51.0)

public static final class UpdateGlossaryEntryRequest.Builder extends GeneratedMessageV3.Builder<UpdateGlossaryEntryRequest.Builder> implements UpdateGlossaryEntryRequestOrBuilder

Request message for UpdateGlossaryEntry

Protobuf type google.cloud.translation.v3.UpdateGlossaryEntryRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateGlossaryEntryRequest build()
Returns
Type Description
UpdateGlossaryEntryRequest

buildPartial()

public UpdateGlossaryEntryRequest buildPartial()
Returns
Type Description
UpdateGlossaryEntryRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGlossaryEntry()

public UpdateGlossaryEntryRequest.Builder clearGlossaryEntry()

Required. The glossary entry to update.

.google.cloud.translation.v3.GlossaryEntry glossary_entry = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateGlossaryEntryRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public UpdateGlossaryEntryRequest getDefaultInstanceForType()
Returns
Type Description
UpdateGlossaryEntryRequest

getDescriptorForType()

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

getGlossaryEntry()

public GlossaryEntry getGlossaryEntry()

Required. The glossary entry to update.

.google.cloud.translation.v3.GlossaryEntry glossary_entry = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GlossaryEntry

The glossaryEntry.

getGlossaryEntryBuilder()

public GlossaryEntry.Builder getGlossaryEntryBuilder()

Required. The glossary entry to update.

.google.cloud.translation.v3.GlossaryEntry glossary_entry = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GlossaryEntry.Builder

getGlossaryEntryOrBuilder()

public GlossaryEntryOrBuilder getGlossaryEntryOrBuilder()

Required. The glossary entry to update.

.google.cloud.translation.v3.GlossaryEntry glossary_entry = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GlossaryEntryOrBuilder

hasGlossaryEntry()

public boolean hasGlossaryEntry()

Required. The glossary entry to update.

.google.cloud.translation.v3.GlossaryEntry glossary_entry = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the glossaryEntry field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateGlossaryEntryRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGlossaryEntry(GlossaryEntry value)

public UpdateGlossaryEntryRequest.Builder mergeGlossaryEntry(GlossaryEntry value)

Required. The glossary entry to update.

.google.cloud.translation.v3.GlossaryEntry glossary_entry = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GlossaryEntry
Returns
Type Description
UpdateGlossaryEntryRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGlossaryEntry(GlossaryEntry value)

public UpdateGlossaryEntryRequest.Builder setGlossaryEntry(GlossaryEntry value)

Required. The glossary entry to update.

.google.cloud.translation.v3.GlossaryEntry glossary_entry = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GlossaryEntry
Returns
Type Description
UpdateGlossaryEntryRequest.Builder

setGlossaryEntry(GlossaryEntry.Builder builderForValue)

public UpdateGlossaryEntryRequest.Builder setGlossaryEntry(GlossaryEntry.Builder builderForValue)

Required. The glossary entry to update.

.google.cloud.translation.v3.GlossaryEntry glossary_entry = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue GlossaryEntry.Builder
Returns
Type Description
UpdateGlossaryEntryRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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