public static final class CompleteQueryResponse.AttributeResult extends GeneratedMessageV3 implements CompleteQueryResponse.AttributeResultOrBuilder
Resource that represents attribute results.
Protobuf type google.cloud.retail.v2alpha.CompleteQueryResponse.AttributeResult
Static Fields
SUGGESTIONS_FIELD_NUMBER
public static final int SUGGESTIONS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CompleteQueryResponse.AttributeResult getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CompleteQueryResponse.AttributeResult.Builder newBuilder()
Returns
newBuilder(CompleteQueryResponse.AttributeResult prototype)
public static CompleteQueryResponse.AttributeResult.Builder newBuilder(CompleteQueryResponse.AttributeResult prototype)
Parameter
Returns
public static CompleteQueryResponse.AttributeResult parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CompleteQueryResponse.AttributeResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CompleteQueryResponse.AttributeResult parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CompleteQueryResponse.AttributeResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CompleteQueryResponse.AttributeResult parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CompleteQueryResponse.AttributeResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CompleteQueryResponse.AttributeResult parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CompleteQueryResponse.AttributeResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CompleteQueryResponse.AttributeResult parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CompleteQueryResponse.AttributeResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CompleteQueryResponse.AttributeResult parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CompleteQueryResponse.AttributeResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CompleteQueryResponse.AttributeResult> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CompleteQueryResponse.AttributeResult getDefaultInstanceForType()
Returns
getParserForType()
public Parser<CompleteQueryResponse.AttributeResult> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSuggestions(int index)
public String getSuggestions(int index)
The list of suggestions for the attribute.
repeated string suggestions = 1;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The suggestions at the given index.
|
getSuggestionsBytes(int index)
public ByteString getSuggestionsBytes(int index)
The list of suggestions for the attribute.
repeated string suggestions = 1;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the suggestions at the given index.
|
getSuggestionsCount()
public int getSuggestionsCount()
The list of suggestions for the attribute.
repeated string suggestions = 1;
Returns
Type | Description |
int | The count of suggestions.
|
getSuggestionsList()
public ProtocolStringList getSuggestionsList()
The list of suggestions for the attribute.
repeated string suggestions = 1;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CompleteQueryResponse.AttributeResult.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CompleteQueryResponse.AttributeResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CompleteQueryResponse.AttributeResult.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions