Class ListProductsInProductSetResponse (3.3.0)

public final class ListProductsInProductSetResponse extends GeneratedMessageV3 implements ListProductsInProductSetResponseOrBuilder

Response message for the ListProductsInProductSet method.

Protobuf type google.cloud.vision.v1p4beta1.ListProductsInProductSetResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListProductsInProductSetResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

PRODUCTS_FIELD_NUMBER

public static final int PRODUCTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListProductsInProductSetResponse getDefaultInstance()
Returns
TypeDescription
ListProductsInProductSetResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListProductsInProductSetResponse prototype)

public static ListProductsInProductSetResponse.Builder newBuilder(ListProductsInProductSetResponse prototype)
Parameter
NameDescription
prototypeListProductsInProductSetResponse
Returns
TypeDescription
ListProductsInProductSetResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListProductsInProductSetResponse getDefaultInstanceForType()
Returns
TypeDescription
ListProductsInProductSetResponse

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<ListProductsInProductSetResponse> getParserForType()
Returns
TypeDescription
Parser<ListProductsInProductSetResponse>
Overrides

getProducts(int index)

public Product getProducts(int index)

The list of Products.

repeated .google.cloud.vision.v1p4beta1.Product products = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Product

getProductsCount()

public int getProductsCount()

The list of Products.

repeated .google.cloud.vision.v1p4beta1.Product products = 1;

Returns
TypeDescription
int

getProductsList()

public List<Product> getProductsList()

The list of Products.

repeated .google.cloud.vision.v1p4beta1.Product products = 1;

Returns
TypeDescription
List<Product>

getProductsOrBuilder(int index)

public ProductOrBuilder getProductsOrBuilder(int index)

The list of Products.

repeated .google.cloud.vision.v1p4beta1.Product products = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ProductOrBuilder

getProductsOrBuilderList()

public List<? extends ProductOrBuilder> getProductsOrBuilderList()

The list of Products.

repeated .google.cloud.vision.v1p4beta1.Product products = 1;

Returns
TypeDescription
List<? extends com.google.cloud.vision.v1p4beta1.ProductOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 ListProductsInProductSetResponse.Builder newBuilderForType()
Returns
TypeDescription
ListProductsInProductSetResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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