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
|