Class ListProductSetsResponse.Builder (2.1.4)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1p4beta1.ProductSet>
Returns
TypeDescription
ListProductSetsResponse.Builder

addProductSets(ProductSet value)

public ListProductSetsResponse.Builder addProductSets(ProductSet value)

List of ProductSets.

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

Parameter
NameDescription
valueProductSet
Returns
TypeDescription
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
NameDescription
builderForValueProductSet.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueProductSet
Returns
TypeDescription
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 <
NameDescription