Send feedback
Class SearchIndexEndpointResponse.Builder (0.12.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.12.0 keyboard_arrow_down
public static final class SearchIndexEndpointResponse . Builder extends GeneratedMessageV3 . Builder<SearchIndexEndpointResponse . Builder > implements SearchIndexEndpointResponseOrBuilder
Response message for SearchIndexEndpoint.
Protobuf type google.cloud.visionai.v1.SearchIndexEndpointResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addAllSearchResultItems(Iterable<? extends SearchResultItem> values)
public SearchIndexEndpointResponse . Builder addAllSearchResultItems ( Iterable <? extends SearchResultItem > values )
Returned search results.
repeated .google.cloud.visionai.v1.SearchResultItem search_result_items = 1;
Parameter
Name
Description
values
Iterable <? extends com.google.cloud.visionai.v1.SearchResultItem >
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchIndexEndpointResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
addSearchResultItems(SearchResultItem value)
public SearchIndexEndpointResponse . Builder addSearchResultItems ( SearchResultItem value )
Returned search results.
repeated .google.cloud.visionai.v1.SearchResultItem search_result_items = 1;
addSearchResultItems(SearchResultItem.Builder builderForValue)
public SearchIndexEndpointResponse . Builder addSearchResultItems ( SearchResultItem . Builder builderForValue )
Returned search results.
repeated .google.cloud.visionai.v1.SearchResultItem search_result_items = 1;
addSearchResultItems(int index, SearchResultItem value)
public SearchIndexEndpointResponse . Builder addSearchResultItems ( int index , SearchResultItem value )
Returned search results.
repeated .google.cloud.visionai.v1.SearchResultItem search_result_items = 1;
addSearchResultItems(int index, SearchResultItem.Builder builderForValue)
public SearchIndexEndpointResponse . Builder addSearchResultItems ( int index , SearchResultItem . Builder builderForValue )
Returned search results.
repeated .google.cloud.visionai.v1.SearchResultItem search_result_items = 1;
addSearchResultItemsBuilder()
public SearchResultItem . Builder addSearchResultItemsBuilder ()
Returned search results.
repeated .google.cloud.visionai.v1.SearchResultItem search_result_items = 1;
addSearchResultItemsBuilder(int index)
public SearchResultItem . Builder addSearchResultItemsBuilder ( int index )
Returned search results.
repeated .google.cloud.visionai.v1.SearchResultItem search_result_items = 1;
Parameter
Name
Description
index
int
build()
public SearchIndexEndpointResponse build ()
buildPartial()
public SearchIndexEndpointResponse buildPartial ()
clear()
public SearchIndexEndpointResponse . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchIndexEndpointResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearNextPageToken()
public SearchIndexEndpointResponse . Builder clearNextPageToken ()
The next-page continuation token.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchIndexEndpointResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearSearchResultItems()
public SearchIndexEndpointResponse . Builder clearSearchResultItems ()
Returned search results.
repeated .google.cloud.visionai.v1.SearchResultItem search_result_items = 1;
clone()
public SearchIndexEndpointResponse . Builder clone ()
Overrides
getDefaultInstanceForType()
public SearchIndexEndpointResponse getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
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.
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
getSearchResultItemsBuilder(int index)
public SearchResultItem . Builder getSearchResultItemsBuilder ( int index )
Returned search results.
repeated .google.cloud.visionai.v1.SearchResultItem search_result_items = 1;
Parameter
Name
Description
index
int
getSearchResultItemsBuilderList()
public List<SearchResultItem . Builder > getSearchResultItemsBuilderList ()
Returned search results.
repeated .google.cloud.visionai.v1.SearchResultItem search_result_items = 1;
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;
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
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 >
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(SearchIndexEndpointResponse other)
public SearchIndexEndpointResponse . Builder mergeFrom ( SearchIndexEndpointResponse other )
public SearchIndexEndpointResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public SearchIndexEndpointResponse . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchIndexEndpointResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
removeSearchResultItems(int index)
public SearchIndexEndpointResponse . Builder removeSearchResultItems ( int index )
Returned search results.
repeated .google.cloud.visionai.v1.SearchResultItem search_result_items = 1;
Parameter
Name
Description
index
int
setField(Descriptors.FieldDescriptor field, Object value)
public SearchIndexEndpointResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setNextPageToken(String value)
public SearchIndexEndpointResponse . Builder setNextPageToken ( String value )
The next-page continuation token.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Parameter
Name
Description
value
String
The nextPageToken to set.
setNextPageTokenBytes(ByteString value)
public SearchIndexEndpointResponse . Builder setNextPageTokenBytes ( ByteString value )
The next-page continuation token.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Parameter
Name
Description
value
ByteString
The bytes for nextPageToken to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchIndexEndpointResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setSearchResultItems(int index, SearchResultItem value)
public SearchIndexEndpointResponse . Builder setSearchResultItems ( int index , SearchResultItem value )
Returned search results.
repeated .google.cloud.visionai.v1.SearchResultItem search_result_items = 1;
setSearchResultItems(int index, SearchResultItem.Builder builderForValue)
public SearchIndexEndpointResponse . Builder setSearchResultItems ( int index , SearchResultItem . Builder builderForValue )
Returned search results.
repeated .google.cloud.visionai.v1.SearchResultItem search_result_items = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchIndexEndpointResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]