Class ListProductSetsResponse.Builder (3.47.0)

public static final class ListProductSetsResponse.Builder extends GeneratedMessageV3.Builder<ListProductSetsResponse.Builder> implements ListProductSetsResponseOrBuilder

Response message for the ListProductSets method.

Protobuf type google.cloud.vision.v1p4beta1.ListProductSetsResponse

Static Methods

getDescriptor()

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

Methods

addAllProductSets(Iterable<? extends ProductSet> values)

public ListProductSetsResponse.Builder addAllProductSets(Iterable<? extends ProductSet> values)

List of ProductSets.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.vision.v1p4beta1.ProductSet>
Returns
Type Description
ListProductSetsResponse.Builder

addProductSets(ProductSet value)

public ListProductSetsResponse.Builder addProductSets(ProductSet value)

List of ProductSets.

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

Parameter
Name Description
value ProductSet
Returns
Type Description
ListProductSetsResponse.Builder

addProductSets(ProductSet.Builder builderForValue)

public ListProductSetsResponse.Builder addProductSets(ProductSet.Builder builderForValue)

List of ProductSets.

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

Parameter
Name Description
builderForValue ProductSet.Builder
Returns
Type Description
ListProductSetsResponse.Builder

addProductSets(int index, ProductSet value)

public ListProductSetsResponse.Builder addProductSets(int index, ProductSet value)

List of ProductSets.

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

Parameters
Name Description
index int
value ProductSet
Returns
Type Description
ListProductSetsResponse.Builder

addProductSets(int index, ProductSet.Builder builderForValue)

public ListProductSetsResponse.Builder addProductSets(int index, ProductSet.Builder builderForValue)

List of ProductSets.

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

Parameters
Name Description
index int
builderForValue ProductSet.Builder
Returns
Type Description
ListProductSetsResponse.Builder

addProductSetsBuilder()

public ProductSet.Builder addProductSetsBuilder()

List of ProductSets.

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

Returns
Type Description
ProductSet.Builder

addProductSetsBuilder(int index)

public ProductSet.Builder addProductSetsBuilder(int index)

List of ProductSets.

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

Parameter
Name Description
index int
Returns
Type Description
ProductSet.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListProductSetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListProductSetsResponse.Builder
Overrides

build()

public ListProductSetsResponse build()
Returns
Type Description
ListProductSetsResponse

buildPartial()

public ListProductSetsResponse buildPartial()
Returns
Type Description
ListProductSetsResponse

clear()

public ListProductSetsResponse.Builder clear()
Returns
Type Description
ListProductSetsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListProductSetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListProductSetsResponse.Builder
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
Type Description
ListProductSetsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListProductSetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListProductSetsResponse.Builder
Overrides

clearProductSets()

public ListProductSetsResponse.Builder clearProductSets()

List of ProductSets.

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

Returns
Type Description
ListProductSetsResponse.Builder

clone()

public ListProductSetsResponse.Builder clone()
Returns
Type Description
ListProductSetsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListProductSetsResponse getDefaultInstanceForType()
Returns
Type Description
ListProductSetsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.v1p4beta1.ProductSet product_sets = 1;

Parameter
Name Description
index int
Returns
Type Description
ProductSet

getProductSetsBuilder(int index)

public ProductSet.Builder getProductSetsBuilder(int index)

List of ProductSets.

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

Parameter
Name Description
index int
Returns
Type Description
ProductSet.Builder

getProductSetsBuilderList()

public List<ProductSet.Builder> getProductSetsBuilderList()

List of ProductSets.

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

Returns
Type Description
List<Builder>

getProductSetsCount()

public int getProductSetsCount()

List of ProductSets.

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

Returns
Type Description
int

getProductSetsList()

public List<ProductSet> getProductSetsList()

List of ProductSets.

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

Returns
Type Description
List<ProductSet>

getProductSetsOrBuilder(int index)

public ProductSetOrBuilder getProductSetsOrBuilder(int index)

List of ProductSets.

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

Parameter
Name Description
index int
Returns
Type Description
ProductSetOrBuilder

getProductSetsOrBuilderList()

public List<? extends ProductSetOrBuilder> getProductSetsOrBuilderList()

List of ProductSets.

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

Returns
Type Description
List<? extends com.google.cloud.vision.v1p4beta1.ProductSetOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListProductSetsResponse other)

public ListProductSetsResponse.Builder mergeFrom(ListProductSetsResponse other)
Parameter
Name Description
other ListProductSetsResponse
Returns
Type Description
ListProductSetsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListProductSetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListProductSetsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListProductSetsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListProductSetsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListProductSetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListProductSetsResponse.Builder
Overrides

removeProductSets(int index)

public ListProductSetsResponse.Builder removeProductSets(int index)

List of ProductSets.

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

Parameter
Name Description
index int
Returns
Type Description
ListProductSetsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListProductSetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListProductSetsResponse.Builder
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
Type Description
ListProductSetsResponse.Builder

This builder for chaining.

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
Type Description
ListProductSetsResponse.Builder

This builder for chaining.

setProductSets(int index, ProductSet value)

public ListProductSetsResponse.Builder setProductSets(int index, ProductSet value)

List of ProductSets.

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

Parameters
Name Description
index int
value ProductSet
Returns
Type Description
ListProductSetsResponse.Builder

setProductSets(int index, ProductSet.Builder builderForValue)

public ListProductSetsResponse.Builder setProductSets(int index, ProductSet.Builder builderForValue)

List of ProductSets.

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

Parameters
Name Description
index int
builderForValue ProductSet.Builder
Returns
Type Description
ListProductSetsResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListProductSetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListProductSetsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListProductSetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListProductSetsResponse.Builder
Overrides