public static final class UpdateGlossaryEntryRequest.Builder extends GeneratedMessageV3.Builder<UpdateGlossaryEntryRequest.Builder> implements UpdateGlossaryEntryRequestOrBuilder
Request message for UpdateGlossaryEntry
Protobuf type google.cloud.translation.v3.UpdateGlossaryEntryRequest
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 UpdateGlossaryEntryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateGlossaryEntryRequest build()
buildPartial()
public UpdateGlossaryEntryRequest buildPartial()
clear()
public UpdateGlossaryEntryRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateGlossaryEntryRequest.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateGlossaryEntryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public UpdateGlossaryEntryRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateGlossaryEntryRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGlossaryEntry()
public GlossaryEntry getGlossaryEntry()
Required. The glossary entry to update.
.google.cloud.translation.v3.GlossaryEntry glossary_entry = 1 [(.google.api.field_behavior) = REQUIRED];
getGlossaryEntryBuilder()
public GlossaryEntry.Builder getGlossaryEntryBuilder()
Required. The glossary entry to update.
.google.cloud.translation.v3.GlossaryEntry glossary_entry = 1 [(.google.api.field_behavior) = REQUIRED];
getGlossaryEntryOrBuilder()
public GlossaryEntryOrBuilder getGlossaryEntryOrBuilder()
Required. The glossary entry to update.
.google.cloud.translation.v3.GlossaryEntry glossary_entry = 1 [(.google.api.field_behavior) = REQUIRED];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateGlossaryEntryRequest other)
public UpdateGlossaryEntryRequest.Builder mergeFrom(UpdateGlossaryEntryRequest other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateGlossaryEntryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateGlossaryEntryRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateGlossaryEntryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateGlossaryEntryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateGlossaryEntryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateGlossaryEntryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides