Send feedback
Class ListProductSetsResponse.Builder (3.7.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.7.0 keyboard_arrow_down
public static final class ListProductSetsResponse . Builder extends GeneratedMessageV3 . Builder<ListProductSetsResponse . Builder > implements ListProductSetsResponseOrBuilder
Response message for the ListProductSets
method.
Protobuf type google.cloud.vision.v1.ListProductSetsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 ()
Returns
Methods
addAllProductSets(Iterable<? extends ProductSet> values)
public ListProductSetsResponse . Builder addAllProductSets ( Iterable <? extends ProductSet > values )
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
Parameter
Name Description values
Iterable <? extends com.google.cloud.vision.v1.ProductSet >
Returns
addProductSets(ProductSet value)
public ListProductSetsResponse . Builder addProductSets ( ProductSet value )
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
Parameter
Returns
addProductSets(ProductSet.Builder builderForValue)
public ListProductSetsResponse . Builder addProductSets ( ProductSet . Builder builderForValue )
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
Parameter
Returns
addProductSets(int index, ProductSet value)
public ListProductSetsResponse . Builder addProductSets ( int index , ProductSet value )
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
Parameters
Returns
addProductSets(int index, ProductSet.Builder builderForValue)
public ListProductSetsResponse . Builder addProductSets ( int index , ProductSet . Builder builderForValue )
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
Parameters
Returns
addProductSetsBuilder()
public ProductSet . Builder addProductSetsBuilder ()
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
Returns
addProductSetsBuilder(int index)
public ProductSet . Builder addProductSetsBuilder ( int index )
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListProductSetsResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ListProductSetsResponse build ()
Returns
buildPartial()
public ListProductSetsResponse buildPartial ()
Returns
clear()
public ListProductSetsResponse . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListProductSetsResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearNextPageToken()
public ListProductSetsResponse . 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;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListProductSetsResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearProductSets()
public ListProductSetsResponse . Builder clearProductSets ()
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
Returns
clone()
public ListProductSetsResponse . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public ListProductSetsResponse getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
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.
getProductSets(int index)
public ProductSet getProductSets ( int index )
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
Parameter
Returns
getProductSetsBuilder(int index)
public ProductSet . Builder getProductSetsBuilder ( int index )
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
Parameter
Returns
getProductSetsBuilderList()
public List<ProductSet . Builder > getProductSetsBuilderList ()
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
Returns
getProductSetsCount()
public int getProductSetsCount ()
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
Returns
getProductSetsList()
public List<ProductSet> getProductSetsList ()
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
Returns
getProductSetsOrBuilder(int index)
public ProductSetOrBuilder getProductSetsOrBuilder ( int index )
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
Parameter
Returns
getProductSetsOrBuilderList()
public List <? extends ProductSetOrBuilder > getProductSetsOrBuilderList ()
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
Returns
Type Description List <? extends com.google.cloud.vision.v1.ProductSetOrBuilder >
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ListProductSetsResponse other)
public ListProductSetsResponse . Builder mergeFrom ( ListProductSetsResponse other )
Parameter
Returns
public ListProductSetsResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListProductSetsResponse . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListProductSetsResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
removeProductSets(int index)
public ListProductSetsResponse . Builder removeProductSets ( int index )
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListProductSetsResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListProductSetsResponse . 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.
Returns
setNextPageTokenBytes(ByteString value)
public ListProductSetsResponse . 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.
Returns
setProductSets(int index, ProductSet value)
public ListProductSetsResponse . Builder setProductSets ( int index , ProductSet value )
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
Parameters
Returns
setProductSets(int index, ProductSet.Builder builderForValue)
public ListProductSetsResponse . Builder setProductSets ( int index , ProductSet . Builder builderForValue )
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListProductSetsResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListProductSetsResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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."],[],[]]