public static final class GlossaryEntry.GlossaryTermsSet extends GeneratedMessageV3 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
TERMS_FIELD_NUMBER
public static final int TERMS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static GlossaryEntry.GlossaryTermsSet getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GlossaryEntry.GlossaryTermsSet.Builder newBuilder()
newBuilder(GlossaryEntry.GlossaryTermsSet prototype)
public static GlossaryEntry.GlossaryTermsSet.Builder newBuilder(GlossaryEntry.GlossaryTermsSet prototype)
parseDelimitedFrom(InputStream input)
public static GlossaryEntry.GlossaryTermsSet parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GlossaryEntry.GlossaryTermsSet parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GlossaryEntry.GlossaryTermsSet parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GlossaryEntry.GlossaryTermsSet parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GlossaryEntry.GlossaryTermsSet parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GlossaryEntry.GlossaryTermsSet parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static GlossaryEntry.GlossaryTermsSet parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GlossaryEntry.GlossaryTermsSet parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static GlossaryEntry.GlossaryTermsSet parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GlossaryEntry.GlossaryTermsSet parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GlossaryEntry.GlossaryTermsSet parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GlossaryEntry.GlossaryTermsSet parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GlossaryEntry.GlossaryTermsSet> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public GlossaryEntry.GlossaryTermsSet getDefaultInstanceForType()
getParserForType()
public Parser<GlossaryEntry.GlossaryTermsSet> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getTerms(int index)
public 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;
Parameter |
Name |
Description |
index |
int
|
getTermsCount()
public 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;
Returns |
Type |
Description |
int |
|
getTermsList()
public 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;
getTermsOrBuilder(int index)
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;
Parameter |
Name |
Description |
index |
int
|
getTermsOrBuilderList()
public 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;
Returns |
Type |
Description |
List<? extends com.google.cloud.translate.v3.GlossaryTermOrBuilder> |
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GlossaryEntry.GlossaryTermsSet.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GlossaryEntry.GlossaryTermsSet.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public GlossaryEntry.GlossaryTermsSet.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides