public static final class SynonymSet.Synonym extends GeneratedMessageV3 implements SynonymSet.SynonymOrBuilder
Represents a list of words given by the customer
All these words are synonyms of each other.
Protobuf type google.cloud.contentwarehouse.v1.SynonymSet.Synonym
Static Fields
WORDS_FIELD_NUMBER
public static final int WORDS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SynonymSet.Synonym getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SynonymSet.Synonym.Builder newBuilder()
Returns
newBuilder(SynonymSet.Synonym prototype)
public static SynonymSet.Synonym.Builder newBuilder(SynonymSet.Synonym prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static SynonymSet.Synonym parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SynonymSet.Synonym parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SynonymSet.Synonym parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SynonymSet.Synonym parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SynonymSet.Synonym parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SynonymSet.Synonym parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static SynonymSet.Synonym parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SynonymSet.Synonym parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static SynonymSet.Synonym parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SynonymSet.Synonym parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SynonymSet.Synonym parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SynonymSet.Synonym parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SynonymSet.Synonym> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public SynonymSet.Synonym getDefaultInstanceForType()
Returns
getParserForType()
public Parser<SynonymSet.Synonym> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getWords(int index)
public String getWords(int index)
For example: sale, invoice, bill, order
repeated string words = 1;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The words at the given index.
|
getWordsBytes(int index)
public ByteString getWordsBytes(int index)
For example: sale, invoice, bill, order
repeated string words = 1;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the words at the given index.
|
getWordsCount()
public int getWordsCount()
For example: sale, invoice, bill, order
repeated string words = 1;
Returns
Type | Description |
int | The count of words.
|
getWordsList()
public ProtocolStringList getWordsList()
For example: sale, invoice, bill, order
repeated string words = 1;
Returns
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SynonymSet.Synonym.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SynonymSet.Synonym.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SynonymSet.Synonym.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions