Class ListProductSetsResponse (3.34.0)

public final class ListProductSetsResponse extends GeneratedMessageV3 implements ListProductSetsResponseOrBuilder

Response message for the ListProductSets method.

Protobuf type google.cloud.vision.v1p3beta1.ListProductSetsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

PRODUCT_SETS_FIELD_NUMBER

public static final int PRODUCT_SETS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListProductSetsResponse getDefaultInstance()
Returns
TypeDescription
ListProductSetsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListProductSetsResponse.Builder newBuilder()
Returns
TypeDescription
ListProductSetsResponse.Builder

newBuilder(ListProductSetsResponse prototype)

public static ListProductSetsResponse.Builder newBuilder(ListProductSetsResponse prototype)
Parameter
NameDescription
prototypeListProductSetsResponse
Returns
TypeDescription
ListProductSetsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListProductSetsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListProductSetsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListProductSetsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListProductSetsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListProductSetsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListProductSetsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListProductSetsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListProductSetsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListProductSetsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListProductSetsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListProductSetsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListProductSetsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListProductSetsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListProductSetsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListProductSetsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListProductSetsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListProductSetsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListProductSetsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListProductSetsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListProductSetsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListProductSetsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListProductSetsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListProductSetsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListProductSetsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListProductSetsResponse> parser()
Returns
TypeDescription
Parser<ListProductSetsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListProductSetsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListProductSetsResponse

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListProductSetsResponse> getParserForType()
Returns
TypeDescription
Parser<ListProductSetsResponse>
Overrides

getProductSets(int index)

public ProductSet getProductSets(int index)

List of ProductSets.

repeated .google.cloud.vision.v1p3beta1.ProductSet product_sets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ProductSet

getProductSetsCount()

public int getProductSetsCount()

List of ProductSets.

repeated .google.cloud.vision.v1p3beta1.ProductSet product_sets = 1;

Returns
TypeDescription
int

getProductSetsList()

public List<ProductSet> getProductSetsList()

List of ProductSets.

repeated .google.cloud.vision.v1p3beta1.ProductSet product_sets = 1;

Returns
TypeDescription
List<ProductSet>

getProductSetsOrBuilder(int index)

public ProductSetOrBuilder getProductSetsOrBuilder(int index)

List of ProductSets.

repeated .google.cloud.vision.v1p3beta1.ProductSet product_sets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ProductSetOrBuilder

getProductSetsOrBuilderList()

public List<? extends ProductSetOrBuilder> getProductSetsOrBuilderList()

List of ProductSets.

repeated .google.cloud.vision.v1p3beta1.ProductSet product_sets = 1;

Returns
TypeDescription
List<? extends com.google.cloud.vision.v1p3beta1.ProductSetOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListProductSetsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListProductSetsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListProductSetsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListProductSetsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListProductSetsResponse.Builder toBuilder()
Returns
TypeDescription
ListProductSetsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException