public final class SearchIndexEndpointResponse extends GeneratedMessageV3 implements SearchIndexEndpointResponseOrBuilder
Response message for SearchIndexEndpoint.
Protobuf type google.cloud.visionai.v1.SearchIndexEndpointResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SearchIndexEndpointResponseImplements
SearchIndexEndpointResponseOrBuilderStatic Fields
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SEARCH_RESULT_ITEMS_FIELD_NUMBER
public static final int SEARCH_RESULT_ITEMS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static SearchIndexEndpointResponse getDefaultInstance()
Returns | |
---|---|
Type | Description |
SearchIndexEndpointResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static SearchIndexEndpointResponse.Builder newBuilder()
Returns | |
---|---|
Type | Description |
SearchIndexEndpointResponse.Builder |
newBuilder(SearchIndexEndpointResponse prototype)
public static SearchIndexEndpointResponse.Builder newBuilder(SearchIndexEndpointResponse prototype)
Parameter | |
---|---|
Name | Description |
prototype |
SearchIndexEndpointResponse |
Returns | |
---|---|
Type | Description |
SearchIndexEndpointResponse.Builder |
parseDelimitedFrom(InputStream input)
public static SearchIndexEndpointResponse parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
SearchIndexEndpointResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SearchIndexEndpointResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SearchIndexEndpointResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static SearchIndexEndpointResponse parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
SearchIndexEndpointResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SearchIndexEndpointResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SearchIndexEndpointResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static SearchIndexEndpointResponse parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
SearchIndexEndpointResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SearchIndexEndpointResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SearchIndexEndpointResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static SearchIndexEndpointResponse parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
SearchIndexEndpointResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SearchIndexEndpointResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SearchIndexEndpointResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static SearchIndexEndpointResponse parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
SearchIndexEndpointResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SearchIndexEndpointResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SearchIndexEndpointResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static SearchIndexEndpointResponse parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
SearchIndexEndpointResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SearchIndexEndpointResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SearchIndexEndpointResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<SearchIndexEndpointResponse> parser()
Returns | |
---|---|
Type | Description |
Parser<SearchIndexEndpointResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public SearchIndexEndpointResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SearchIndexEndpointResponse |
getNextPageToken()
public String getNextPageToken()
The next-page continuation token. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
The next-page continuation token. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for nextPageToken. |
getParserForType()
public Parser<SearchIndexEndpointResponse> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<SearchIndexEndpointResponse> |
getSearchResultItems(int index)
public SearchResultItem getSearchResultItems(int index)
Returned search results.
repeated .google.cloud.visionai.v1.SearchResultItem search_result_items = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SearchResultItem |
getSearchResultItemsCount()
public int getSearchResultItemsCount()
Returned search results.
repeated .google.cloud.visionai.v1.SearchResultItem search_result_items = 1;
Returns | |
---|---|
Type | Description |
int |
getSearchResultItemsList()
public List<SearchResultItem> getSearchResultItemsList()
Returned search results.
repeated .google.cloud.visionai.v1.SearchResultItem search_result_items = 1;
Returns | |
---|---|
Type | Description |
List<SearchResultItem> |
getSearchResultItemsOrBuilder(int index)
public SearchResultItemOrBuilder getSearchResultItemsOrBuilder(int index)
Returned search results.
repeated .google.cloud.visionai.v1.SearchResultItem search_result_items = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SearchResultItemOrBuilder |
getSearchResultItemsOrBuilderList()
public List<? extends SearchResultItemOrBuilder> getSearchResultItemsOrBuilderList()
Returned search results.
repeated .google.cloud.visionai.v1.SearchResultItem search_result_items = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.visionai.v1.SearchResultItemOrBuilder> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public SearchIndexEndpointResponse.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
SearchIndexEndpointResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SearchIndexEndpointResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
SearchIndexEndpointResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public SearchIndexEndpointResponse.Builder toBuilder()
Returns | |
---|---|
Type | Description |
SearchIndexEndpointResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |