public static final class UpdateGlossaryRequest.Builder extends GeneratedMessage.Builder<UpdateGlossaryRequest.Builder> implements UpdateGlossaryRequestOrBuilderRequest message for the update glossary flow
Protobuf type google.cloud.translation.v3.UpdateGlossaryRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateGlossaryRequest.BuilderImplements
UpdateGlossaryRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateGlossaryRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateGlossaryRequest |
|
buildPartial()
public UpdateGlossaryRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateGlossaryRequest |
|
clear()
public UpdateGlossaryRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateGlossaryRequest.Builder |
|
clearGlossary()
public UpdateGlossaryRequest.Builder clearGlossary()Required. The glossary entry to update.
.google.cloud.translation.v3.Glossary glossary = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateGlossaryRequest.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
UpdateGlossaryRequest.Builder |
|
getDefaultInstanceForType()
public UpdateGlossaryRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateGlossaryRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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];
| Returns | |
|---|---|
| Type | Description |
Glossary.Builder |
|
getGlossaryOrBuilder()
public GlossaryOrBuilder getGlossaryOrBuilder()Required. The glossary entry to update.
.google.cloud.translation.v3.Glossary glossary = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GlossaryOrBuilder |
|
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;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder() The list of fields to be updated. Currently only display_name and
'input_config'
.google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UpdateGlossaryRequest other)
public UpdateGlossaryRequest.Builder mergeFrom(UpdateGlossaryRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateGlossaryRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateGlossaryRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateGlossaryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateGlossaryRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateGlossaryRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateGlossaryRequest.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
UpdateGlossaryRequest.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateGlossaryRequest.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
UpdateGlossaryRequest.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Glossary.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateGlossaryRequest.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateGlossaryRequest.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
UpdateGlossaryRequest.Builder |
|