Class SearchAssetsResponse (0.11.0)

public final class SearchAssetsResponse extends GeneratedMessageV3 implements SearchAssetsResponseOrBuilder

Response message for SearchAssets.

Protobuf type google.cloud.visionai.v1.SearchAssetsResponse

Static Fields

FACET_RESULTS_FIELD_NUMBER

public static final int FACET_RESULTS_FIELD_NUMBER
Field Value
Type Description
int

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 SearchAssetsResponse getDefaultInstance()
Returns
Type Description
SearchAssetsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SearchAssetsResponse.Builder newBuilder()
Returns
Type Description
SearchAssetsResponse.Builder

newBuilder(SearchAssetsResponse prototype)

public static SearchAssetsResponse.Builder newBuilder(SearchAssetsResponse prototype)
Parameter
Name Description
prototype SearchAssetsResponse
Returns
Type Description
SearchAssetsResponse.Builder

parseDelimitedFrom(InputStream input)

public static SearchAssetsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SearchAssetsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchAssetsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchAssetsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SearchAssetsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SearchAssetsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SearchAssetsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchAssetsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SearchAssetsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SearchAssetsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SearchAssetsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchAssetsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SearchAssetsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SearchAssetsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchAssetsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchAssetsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SearchAssetsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SearchAssetsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchAssetsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchAssetsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SearchAssetsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SearchAssetsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SearchAssetsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchAssetsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SearchAssetsResponse> parser()
Returns
Type Description
Parser<SearchAssetsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public SearchAssetsResponse getDefaultInstanceForType()
Returns
Type Description
SearchAssetsResponse

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
Returns
Type Description
FacetGroup

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;

Returns
Type Description
List<FacetGroup>

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
Returns
Type Description
FacetGroupOrBuilder

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.

getParserForType()

public Parser<SearchAssetsResponse> getParserForType()
Returns
Type Description
Parser<SearchAssetsResponse>
Overrides

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
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SearchAssetsResponse.Builder newBuilderForType()
Returns
Type Description
SearchAssetsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SearchAssetsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SearchAssetsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SearchAssetsResponse.Builder toBuilder()
Returns
Type Description
SearchAssetsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException