Send feedback
Class UpdateGlossaryRequest.Builder (2.54.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.54.0 keyboard_arrow_down
public static final class UpdateGlossaryRequest . Builder extends GeneratedMessageV3 . Builder<UpdateGlossaryRequest . Builder > implements UpdateGlossaryRequestOrBuilder
Request message for the update glossary flow
Protobuf type google.cloud.translation.v3.UpdateGlossaryRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateGlossaryRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public UpdateGlossaryRequest build ()
buildPartial()
public UpdateGlossaryRequest buildPartial ()
clear()
public UpdateGlossaryRequest . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateGlossaryRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearGlossary()
public UpdateGlossaryRequest . Builder clearGlossary ()
Required. The glossary entry to update.
.google.cloud.translation.v3.Glossary glossary = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateGlossaryRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearUpdateMask()
public UpdateGlossaryRequest . Builder clearUpdateMask ()
The list of fields to be updated. Currently only display_name
and
'input_config'
.google.protobuf.FieldMask update_mask = 2;
clone()
public UpdateGlossaryRequest . Builder clone ()
Overrides
getDefaultInstanceForType()
public UpdateGlossaryRequest getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getGlossary()
public Glossary getGlossary ()
Required. The glossary entry to update.
.google.cloud.translation.v3.Glossary glossary = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
Glossary
The glossary.
getGlossaryBuilder()
public Glossary . Builder getGlossaryBuilder ()
Required. The glossary entry to update.
.google.cloud.translation.v3.Glossary glossary = 1 [(.google.api.field_behavior) = REQUIRED];
getGlossaryOrBuilder()
public GlossaryOrBuilder getGlossaryOrBuilder ()
Required. The glossary entry to update.
.google.cloud.translation.v3.Glossary glossary = 1 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask()
public FieldMask getUpdateMask ()
The list of fields to be updated. Currently only display_name
and
'input_config'
.google.protobuf.FieldMask update_mask = 2;
Returns
Type
Description
FieldMask
The updateMask.
getUpdateMaskBuilder()
public FieldMask . Builder getUpdateMaskBuilder ()
The list of fields to be updated. Currently only display_name
and
'input_config'
.google.protobuf.FieldMask update_mask = 2;
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder ()
The list of fields to be updated. Currently only display_name
and
'input_config'
.google.protobuf.FieldMask update_mask = 2;
hasGlossary()
public boolean hasGlossary ()
Required. The glossary entry to update.
.google.cloud.translation.v3.Glossary glossary = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
boolean
Whether the glossary field is set.
hasUpdateMask()
public boolean hasUpdateMask ()
The list of fields to be updated. Currently only display_name
and
'input_config'
.google.protobuf.FieldMask update_mask = 2;
Returns
Type
Description
boolean
Whether the updateMask field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(UpdateGlossaryRequest other)
public UpdateGlossaryRequest . Builder mergeFrom ( UpdateGlossaryRequest other )
public UpdateGlossaryRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public UpdateGlossaryRequest . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeGlossary(Glossary value)
public UpdateGlossaryRequest . Builder mergeGlossary ( Glossary value )
Required. The glossary entry to update.
.google.cloud.translation.v3.Glossary glossary = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
Glossary
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateGlossaryRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
mergeUpdateMask(FieldMask value)
public UpdateGlossaryRequest . Builder mergeUpdateMask ( FieldMask value )
The list of fields to be updated. Currently only display_name
and
'input_config'
.google.protobuf.FieldMask update_mask = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateGlossaryRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setGlossary(Glossary value)
public UpdateGlossaryRequest . Builder setGlossary ( Glossary value )
Required. The glossary entry to update.
.google.cloud.translation.v3.Glossary glossary = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
Glossary
setGlossary(Glossary.Builder builderForValue)
public UpdateGlossaryRequest . Builder setGlossary ( Glossary . Builder builderForValue )
Required. The glossary entry to update.
.google.cloud.translation.v3.Glossary glossary = 1 [(.google.api.field_behavior) = REQUIRED];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateGlossaryRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateGlossaryRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setUpdateMask(FieldMask value)
public UpdateGlossaryRequest . Builder setUpdateMask ( FieldMask value )
The list of fields to be updated. Currently only display_name
and
'input_config'
.google.protobuf.FieldMask update_mask = 2;
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateGlossaryRequest . Builder setUpdateMask ( FieldMask . Builder builderForValue )
The list of fields to be updated. Currently only display_name
and
'input_config'
.google.protobuf.FieldMask update_mask = 2;
Parameter
Name
Description
builderForValue
Builder
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]