public static final class SearchAssetsResponse.Builder extends GeneratedMessageV3.Builder<SearchAssetsResponse.Builder> implements SearchAssetsResponseOrBuilder
Response message for SearchAssets.
Protobuf type google.cloud.visionai.v1.SearchAssetsResponse
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
addAllFacetResults(Iterable<? extends FacetGroup> values)
public SearchAssetsResponse.Builder addAllFacetResults(Iterable<? extends FacetGroup> values)
Facet search results of a given query, which contains user's
already-selected facet values and updated facet search results.
repeated .google.cloud.visionai.v1.FacetGroup facet_results = 3;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.visionai.v1.FacetGroup>
|
addAllSearchResultItems(Iterable<? extends SearchResultItem> values)
public SearchAssetsResponse.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>
|
addFacetResults(FacetGroup value)
public SearchAssetsResponse.Builder addFacetResults(FacetGroup value)
Facet search results of a given query, which contains user's
already-selected facet values and updated facet search results.
repeated .google.cloud.visionai.v1.FacetGroup facet_results = 3;
addFacetResults(FacetGroup.Builder builderForValue)
public SearchAssetsResponse.Builder addFacetResults(FacetGroup.Builder builderForValue)
Facet search results of a given query, which contains user's
already-selected facet values and updated facet search results.
repeated .google.cloud.visionai.v1.FacetGroup facet_results = 3;
addFacetResults(int index, FacetGroup value)
public SearchAssetsResponse.Builder addFacetResults(int index, FacetGroup value)
Facet search results of a given query, which contains user's
already-selected facet values and updated facet search results.
repeated .google.cloud.visionai.v1.FacetGroup facet_results = 3;
addFacetResults(int index, FacetGroup.Builder builderForValue)
public SearchAssetsResponse.Builder addFacetResults(int index, FacetGroup.Builder builderForValue)
Facet search results of a given query, which contains user's
already-selected facet values and updated facet search results.
repeated .google.cloud.visionai.v1.FacetGroup facet_results = 3;
addFacetResultsBuilder()
public FacetGroup.Builder addFacetResultsBuilder()
Facet search results of a given query, which contains user's
already-selected facet values and updated facet search results.
repeated .google.cloud.visionai.v1.FacetGroup facet_results = 3;
addFacetResultsBuilder(int index)
public FacetGroup.Builder addFacetResultsBuilder(int index)
Facet search results of a given query, which contains user's
already-selected facet values and updated facet search results.
repeated .google.cloud.visionai.v1.FacetGroup facet_results = 3;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchAssetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSearchResultItems(SearchResultItem value)
public SearchAssetsResponse.Builder addSearchResultItems(SearchResultItem value)
Returned search results.
repeated .google.cloud.visionai.v1.SearchResultItem search_result_items = 1;
addSearchResultItems(SearchResultItem.Builder builderForValue)
public SearchAssetsResponse.Builder addSearchResultItems(SearchResultItem.Builder builderForValue)
Returned search results.
repeated .google.cloud.visionai.v1.SearchResultItem search_result_items = 1;
addSearchResultItems(int index, SearchResultItem value)
public SearchAssetsResponse.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 SearchAssetsResponse.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 SearchAssetsResponse build()
buildPartial()
public SearchAssetsResponse buildPartial()
clear()
public SearchAssetsResponse.Builder clear()
Overrides
clearFacetResults()
public SearchAssetsResponse.Builder clearFacetResults()
Facet search results of a given query, which contains user's
already-selected facet values and updated facet search results.
repeated .google.cloud.visionai.v1.FacetGroup facet_results = 3;
clearField(Descriptors.FieldDescriptor field)
public SearchAssetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public SearchAssetsResponse.Builder clearNextPageToken()
The next-page continuation token.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchAssetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSearchResultItems()
public SearchAssetsResponse.Builder clearSearchResultItems()
Returned search results.
repeated .google.cloud.visionai.v1.SearchResultItem search_result_items = 1;
clone()
public SearchAssetsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public SearchAssetsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFacetResults(int index)
public FacetGroup getFacetResults(int index)
Facet search results of a given query, which contains user's
already-selected facet values and updated facet search results.
repeated .google.cloud.visionai.v1.FacetGroup facet_results = 3;
Parameter |
Name |
Description |
index |
int
|
getFacetResultsBuilder(int index)
public FacetGroup.Builder getFacetResultsBuilder(int index)
Facet search results of a given query, which contains user's
already-selected facet values and updated facet search results.
repeated .google.cloud.visionai.v1.FacetGroup facet_results = 3;
Parameter |
Name |
Description |
index |
int
|
getFacetResultsBuilderList()
public List<FacetGroup.Builder> getFacetResultsBuilderList()
Facet search results of a given query, which contains user's
already-selected facet values and updated facet search results.
repeated .google.cloud.visionai.v1.FacetGroup facet_results = 3;
getFacetResultsCount()
public int getFacetResultsCount()
Facet search results of a given query, which contains user's
already-selected facet values and updated facet search results.
repeated .google.cloud.visionai.v1.FacetGroup facet_results = 3;
Returns |
Type |
Description |
int |
|
getFacetResultsList()
public List<FacetGroup> getFacetResultsList()
Facet search results of a given query, which contains user's
already-selected facet values and updated facet search results.
repeated .google.cloud.visionai.v1.FacetGroup facet_results = 3;
getFacetResultsOrBuilder(int index)
public FacetGroupOrBuilder getFacetResultsOrBuilder(int index)
Facet search results of a given query, which contains user's
already-selected facet values and updated facet search results.
repeated .google.cloud.visionai.v1.FacetGroup facet_results = 3;
Parameter |
Name |
Description |
index |
int
|
getFacetResultsOrBuilderList()
public List<? extends FacetGroupOrBuilder> getFacetResultsOrBuilderList()
Facet search results of a given query, which contains user's
already-selected facet values and updated facet search results.
repeated .google.cloud.visionai.v1.FacetGroup facet_results = 3;
Returns |
Type |
Description |
List<? extends com.google.cloud.visionai.v1.FacetGroupOrBuilder> |
|
getNextPageToken()
public String getNextPageToken()
The next-page continuation token.
string next_page_token = 2;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
The next-page continuation token.
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(SearchAssetsResponse other)
public SearchAssetsResponse.Builder mergeFrom(SearchAssetsResponse other)
public SearchAssetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchAssetsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchAssetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeFacetResults(int index)
public SearchAssetsResponse.Builder removeFacetResults(int index)
Facet search results of a given query, which contains user's
already-selected facet values and updated facet search results.
repeated .google.cloud.visionai.v1.FacetGroup facet_results = 3;
Parameter |
Name |
Description |
index |
int
|
removeSearchResultItems(int index)
public SearchAssetsResponse.Builder removeSearchResultItems(int index)
Returned search results.
repeated .google.cloud.visionai.v1.SearchResultItem search_result_items = 1;
Parameter |
Name |
Description |
index |
int
|
setFacetResults(int index, FacetGroup value)
public SearchAssetsResponse.Builder setFacetResults(int index, FacetGroup value)
Facet search results of a given query, which contains user's
already-selected facet values and updated facet search results.
repeated .google.cloud.visionai.v1.FacetGroup facet_results = 3;
setFacetResults(int index, FacetGroup.Builder builderForValue)
public SearchAssetsResponse.Builder setFacetResults(int index, FacetGroup.Builder builderForValue)
Facet search results of a given query, which contains user's
already-selected facet values and updated facet search results.
repeated .google.cloud.visionai.v1.FacetGroup facet_results = 3;
setField(Descriptors.FieldDescriptor field, Object value)
public SearchAssetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public SearchAssetsResponse.Builder setNextPageToken(String value)
The next-page continuation token.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public SearchAssetsResponse.Builder setNextPageTokenBytes(ByteString value)
The next-page continuation token.
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 SearchAssetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSearchResultItems(int index, SearchResultItem value)
public SearchAssetsResponse.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 SearchAssetsResponse.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 SearchAssetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides