public static final class GlossaryEntry.GlossaryTermsSet.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GlossaryEntry.GlossaryTermsSet.Builder> implements GlossaryEntry.GlossaryTermsSetOrBuilder
Represents a single entry for an equivalent term set glossary. This is used for equivalent term sets where each term can be replaced by the other terms in the set.Protobuf type
google.cloud.translation.v3.GlossaryEntry.GlossaryTermsSet| Modifier and Type | Method and Description |
|---|---|
GlossaryEntry.GlossaryTermsSet.Builder |
addAllTerms(Iterable<? extends GlossaryTerm> values)
Each term in the set represents a term that can be replaced by the other
terms.
|
GlossaryEntry.GlossaryTermsSet.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GlossaryEntry.GlossaryTermsSet.Builder |
addTerms(GlossaryTerm.Builder builderForValue)
Each term in the set represents a term that can be replaced by the other
terms.
|
GlossaryEntry.GlossaryTermsSet.Builder |
addTerms(GlossaryTerm value)
Each term in the set represents a term that can be replaced by the other
terms.
|
GlossaryEntry.GlossaryTermsSet.Builder |
addTerms(int index,
GlossaryTerm.Builder builderForValue)
Each term in the set represents a term that can be replaced by the other
terms.
|
GlossaryEntry.GlossaryTermsSet.Builder |
addTerms(int index,
GlossaryTerm value)
Each term in the set represents a term that can be replaced by the other
terms.
|
GlossaryTerm.Builder |
addTermsBuilder()
Each term in the set represents a term that can be replaced by the other
terms.
|
GlossaryTerm.Builder |
addTermsBuilder(int index)
Each term in the set represents a term that can be replaced by the other
terms.
|
GlossaryEntry.GlossaryTermsSet |
build() |
GlossaryEntry.GlossaryTermsSet |
buildPartial() |
GlossaryEntry.GlossaryTermsSet.Builder |
clear() |
GlossaryEntry.GlossaryTermsSet.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GlossaryEntry.GlossaryTermsSet.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GlossaryEntry.GlossaryTermsSet.Builder |
clearTerms()
Each term in the set represents a term that can be replaced by the other
terms.
|
GlossaryEntry.GlossaryTermsSet.Builder |
clone() |
GlossaryEntry.GlossaryTermsSet |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
GlossaryTerm |
getTerms(int index)
Each term in the set represents a term that can be replaced by the other
terms.
|
GlossaryTerm.Builder |
getTermsBuilder(int index)
Each term in the set represents a term that can be replaced by the other
terms.
|
List<GlossaryTerm.Builder> |
getTermsBuilderList()
Each term in the set represents a term that can be replaced by the other
terms.
|
int |
getTermsCount()
Each term in the set represents a term that can be replaced by the other
terms.
|
List<GlossaryTerm> |
getTermsList()
Each term in the set represents a term that can be replaced by the other
terms.
|
GlossaryTermOrBuilder |
getTermsOrBuilder(int index)
Each term in the set represents a term that can be replaced by the other
terms.
|
List<? extends GlossaryTermOrBuilder> |
getTermsOrBuilderList()
Each term in the set represents a term that can be replaced by the other
terms.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GlossaryEntry.GlossaryTermsSet.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GlossaryEntry.GlossaryTermsSet.Builder |
mergeFrom(GlossaryEntry.GlossaryTermsSet other) |
GlossaryEntry.GlossaryTermsSet.Builder |
mergeFrom(com.google.protobuf.Message other) |
GlossaryEntry.GlossaryTermsSet.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GlossaryEntry.GlossaryTermsSet.Builder |
removeTerms(int index)
Each term in the set represents a term that can be replaced by the other
terms.
|
GlossaryEntry.GlossaryTermsSet.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GlossaryEntry.GlossaryTermsSet.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GlossaryEntry.GlossaryTermsSet.Builder |
setTerms(int index,
GlossaryTerm.Builder builderForValue)
Each term in the set represents a term that can be replaced by the other
terms.
|
GlossaryEntry.GlossaryTermsSet.Builder |
setTerms(int index,
GlossaryTerm value)
Each term in the set represents a term that can be replaced by the other
terms.
|
GlossaryEntry.GlossaryTermsSet.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GlossaryEntry.GlossaryTermsSet.Builder>public GlossaryEntry.GlossaryTermsSet.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<GlossaryEntry.GlossaryTermsSet.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GlossaryEntry.GlossaryTermsSet.Builder>public GlossaryEntry.GlossaryTermsSet getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GlossaryEntry.GlossaryTermsSet build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GlossaryEntry.GlossaryTermsSet buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GlossaryEntry.GlossaryTermsSet.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GlossaryEntry.GlossaryTermsSet.Builder>public GlossaryEntry.GlossaryTermsSet.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<GlossaryEntry.GlossaryTermsSet.Builder>public GlossaryEntry.GlossaryTermsSet.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<GlossaryEntry.GlossaryTermsSet.Builder>public GlossaryEntry.GlossaryTermsSet.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GlossaryEntry.GlossaryTermsSet.Builder>public GlossaryEntry.GlossaryTermsSet.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GlossaryEntry.GlossaryTermsSet.Builder>public GlossaryEntry.GlossaryTermsSet.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GlossaryEntry.GlossaryTermsSet.Builder>public GlossaryEntry.GlossaryTermsSet.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GlossaryEntry.GlossaryTermsSet.Builder>public GlossaryEntry.GlossaryTermsSet.Builder mergeFrom(GlossaryEntry.GlossaryTermsSet other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GlossaryEntry.GlossaryTermsSet.Builder>public GlossaryEntry.GlossaryTermsSet.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GlossaryEntry.GlossaryTermsSet.Builder>IOExceptionpublic List<GlossaryTerm> getTermsList()
Each term in the set represents a term that can be replaced by the other terms.
repeated .google.cloud.translation.v3.GlossaryTerm terms = 1;getTermsList in interface GlossaryEntry.GlossaryTermsSetOrBuilderpublic int getTermsCount()
Each term in the set represents a term that can be replaced by the other terms.
repeated .google.cloud.translation.v3.GlossaryTerm terms = 1;getTermsCount in interface GlossaryEntry.GlossaryTermsSetOrBuilderpublic GlossaryTerm getTerms(int index)
Each term in the set represents a term that can be replaced by the other terms.
repeated .google.cloud.translation.v3.GlossaryTerm terms = 1;getTerms in interface GlossaryEntry.GlossaryTermsSetOrBuilderpublic GlossaryEntry.GlossaryTermsSet.Builder setTerms(int index, GlossaryTerm value)
Each term in the set represents a term that can be replaced by the other terms.
repeated .google.cloud.translation.v3.GlossaryTerm terms = 1;public GlossaryEntry.GlossaryTermsSet.Builder setTerms(int index, GlossaryTerm.Builder builderForValue)
Each term in the set represents a term that can be replaced by the other terms.
repeated .google.cloud.translation.v3.GlossaryTerm terms = 1;public GlossaryEntry.GlossaryTermsSet.Builder addTerms(GlossaryTerm value)
Each term in the set represents a term that can be replaced by the other terms.
repeated .google.cloud.translation.v3.GlossaryTerm terms = 1;public GlossaryEntry.GlossaryTermsSet.Builder addTerms(int index, GlossaryTerm value)
Each term in the set represents a term that can be replaced by the other terms.
repeated .google.cloud.translation.v3.GlossaryTerm terms = 1;public GlossaryEntry.GlossaryTermsSet.Builder addTerms(GlossaryTerm.Builder builderForValue)
Each term in the set represents a term that can be replaced by the other terms.
repeated .google.cloud.translation.v3.GlossaryTerm terms = 1;public GlossaryEntry.GlossaryTermsSet.Builder addTerms(int index, GlossaryTerm.Builder builderForValue)
Each term in the set represents a term that can be replaced by the other terms.
repeated .google.cloud.translation.v3.GlossaryTerm terms = 1;public GlossaryEntry.GlossaryTermsSet.Builder addAllTerms(Iterable<? extends GlossaryTerm> values)
Each term in the set represents a term that can be replaced by the other terms.
repeated .google.cloud.translation.v3.GlossaryTerm terms = 1;public GlossaryEntry.GlossaryTermsSet.Builder clearTerms()
Each term in the set represents a term that can be replaced by the other terms.
repeated .google.cloud.translation.v3.GlossaryTerm terms = 1;public GlossaryEntry.GlossaryTermsSet.Builder removeTerms(int index)
Each term in the set represents a term that can be replaced by the other terms.
repeated .google.cloud.translation.v3.GlossaryTerm terms = 1;public GlossaryTerm.Builder getTermsBuilder(int index)
Each term in the set represents a term that can be replaced by the other terms.
repeated .google.cloud.translation.v3.GlossaryTerm terms = 1;public GlossaryTermOrBuilder getTermsOrBuilder(int index)
Each term in the set represents a term that can be replaced by the other terms.
repeated .google.cloud.translation.v3.GlossaryTerm terms = 1;getTermsOrBuilder in interface GlossaryEntry.GlossaryTermsSetOrBuilderpublic List<? extends GlossaryTermOrBuilder> getTermsOrBuilderList()
Each term in the set represents a term that can be replaced by the other terms.
repeated .google.cloud.translation.v3.GlossaryTerm terms = 1;getTermsOrBuilderList in interface GlossaryEntry.GlossaryTermsSetOrBuilderpublic GlossaryTerm.Builder addTermsBuilder()
Each term in the set represents a term that can be replaced by the other terms.
repeated .google.cloud.translation.v3.GlossaryTerm terms = 1;public GlossaryTerm.Builder addTermsBuilder(int index)
Each term in the set represents a term that can be replaced by the other terms.
repeated .google.cloud.translation.v3.GlossaryTerm terms = 1;public List<GlossaryTerm.Builder> getTermsBuilderList()
Each term in the set represents a term that can be replaced by the other terms.
repeated .google.cloud.translation.v3.GlossaryTerm terms = 1;public final GlossaryEntry.GlossaryTermsSet.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GlossaryEntry.GlossaryTermsSet.Builder>public final GlossaryEntry.GlossaryTermsSet.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GlossaryEntry.GlossaryTermsSet.Builder>Copyright © 2024 Google LLC. All rights reserved.