Send feedback
Class ListProductsInProductSetResponse.Builder (3.54.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public static final class ListProductsInProductSetResponse . Builder extends GeneratedMessageV3 . Builder<ListProductsInProductSetResponse . Builder > implements ListProductsInProductSetResponseOrBuilder
Response message for the ListProductsInProductSet
method.
Protobuf type google.cloud.vision.v1p4beta1.ListProductsInProductSetResponse
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
addAllProducts(Iterable<? extends Product> values)
public ListProductsInProductSetResponse . Builder addAllProducts ( Iterable <? extends Product > values )
The list of Products.
repeated .google.cloud.vision.v1p4beta1.Product products = 1;
Parameter
Name
Description
values
Iterable <? extends com.google.cloud.vision.v1p4beta1.Product >
addProducts(Product value)
public ListProductsInProductSetResponse . Builder addProducts ( Product value )
The list of Products.
repeated .google.cloud.vision.v1p4beta1.Product products = 1;
Parameter
Name
Description
value
Product
addProducts(Product.Builder builderForValue)
public ListProductsInProductSetResponse . Builder addProducts ( Product . Builder builderForValue )
The list of Products.
repeated .google.cloud.vision.v1p4beta1.Product products = 1;
addProducts(int index, Product value)
public ListProductsInProductSetResponse . Builder addProducts ( int index , Product value )
The list of Products.
repeated .google.cloud.vision.v1p4beta1.Product products = 1;
Parameters
Name
Description
index
int
value
Product
addProducts(int index, Product.Builder builderForValue)
public ListProductsInProductSetResponse . Builder addProducts ( int index , Product . Builder builderForValue )
The list of Products.
repeated .google.cloud.vision.v1p4beta1.Product products = 1;
addProductsBuilder()
public Product . Builder addProductsBuilder ()
The list of Products.
repeated .google.cloud.vision.v1p4beta1.Product products = 1;
addProductsBuilder(int index)
public Product . Builder addProductsBuilder ( int index )
The list of Products.
repeated .google.cloud.vision.v1p4beta1.Product products = 1;
Parameter
Name
Description
index
int
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListProductsInProductSetResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ListProductsInProductSetResponse build ()
buildPartial()
public ListProductsInProductSetResponse buildPartial ()
clear()
public ListProductsInProductSetResponse . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListProductsInProductSetResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearNextPageToken()
public ListProductsInProductSetResponse . Builder clearNextPageToken ()
Token to retrieve the next page of results, or empty if there are no more
results in the list.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListProductsInProductSetResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearProducts()
public ListProductsInProductSetResponse . Builder clearProducts ()
The list of Products.
repeated .google.cloud.vision.v1p4beta1.Product products = 1;
clone()
public ListProductsInProductSetResponse . Builder clone ()
Overrides
getDefaultInstanceForType()
public ListProductsInProductSetResponse getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
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
Type
Description
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
Type
Description
ByteString
The bytes for nextPageToken.
getProducts(int index)
public Product getProducts ( int index )
The list of Products.
repeated .google.cloud.vision.v1p4beta1.Product products = 1;
Parameter
Name
Description
index
int
getProductsBuilder(int index)
public Product . Builder getProductsBuilder ( int index )
The list of Products.
repeated .google.cloud.vision.v1p4beta1.Product products = 1;
Parameter
Name
Description
index
int
getProductsBuilderList()
public List<Product . Builder > getProductsBuilderList ()
The list of Products.
repeated .google.cloud.vision.v1p4beta1.Product products = 1;
getProductsCount()
public int getProductsCount ()
The list of Products.
repeated .google.cloud.vision.v1p4beta1.Product products = 1;
Returns
Type
Description
int
getProductsList()
public List<Product> getProductsList ()
The list of Products.
repeated .google.cloud.vision.v1p4beta1.Product products = 1;
getProductsOrBuilder(int index)
public ProductOrBuilder getProductsOrBuilder ( int index )
The list of Products.
repeated .google.cloud.vision.v1p4beta1.Product products = 1;
Parameter
Name
Description
index
int
getProductsOrBuilderList()
public List <? extends ProductOrBuilder > getProductsOrBuilderList ()
The list of Products.
repeated .google.cloud.vision.v1p4beta1.Product products = 1;
Returns
Type
Description
List <? extends com.google.cloud.vision.v1p4beta1.ProductOrBuilder >
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(ListProductsInProductSetResponse other)
public ListProductsInProductSetResponse . Builder mergeFrom ( ListProductsInProductSetResponse other )
public ListProductsInProductSetResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ListProductsInProductSetResponse . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListProductsInProductSetResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
removeProducts(int index)
public ListProductsInProductSetResponse . Builder removeProducts ( int index )
The list of Products.
repeated .google.cloud.vision.v1p4beta1.Product products = 1;
Parameter
Name
Description
index
int
setField(Descriptors.FieldDescriptor field, Object value)
public ListProductsInProductSetResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setNextPageToken(String value)
public ListProductsInProductSetResponse . Builder setNextPageToken ( String value )
Token to retrieve the next page of results, or empty if there are no more
results in the list.
string next_page_token = 2;
Parameter
Name
Description
value
String
The nextPageToken to set.
setNextPageTokenBytes(ByteString value)
public ListProductsInProductSetResponse . Builder setNextPageTokenBytes ( ByteString value )
Token to retrieve the next page of results, or empty if there are no more
results in the list.
string next_page_token = 2;
Parameter
Name
Description
value
ByteString
The bytes for nextPageToken to set.
setProducts(int index, Product value)
public ListProductsInProductSetResponse . Builder setProducts ( int index , Product value )
The list of Products.
repeated .google.cloud.vision.v1p4beta1.Product products = 1;
Parameters
Name
Description
index
int
value
Product
setProducts(int index, Product.Builder builderForValue)
public ListProductsInProductSetResponse . Builder setProducts ( int index , Product . Builder builderForValue )
The list of Products.
repeated .google.cloud.vision.v1p4beta1.Product products = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListProductsInProductSetResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListProductsInProductSetResponse . 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-27 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-27 UTC."],[],[]]