Class ListProductsResponse.Builder

public static final class ListProductsResponse.Builder extends GeneratedMessageV3.Builder<ListProductsResponse.Builder> implements ListProductsResponseOrBuilder

Response message for the ListProducts method.

Protobuf type google.cloud.vision.v1p3beta1.ListProductsResponse

Methods

addAllProducts(Iterable<? extends Product> values)

public ListProductsResponse.Builder addAllProducts(Iterable<? extends Product> values)

List of products.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1p3beta1.Product>
Returns
TypeDescription
ListProductsResponse.Builder

addProducts(Product value)

public ListProductsResponse.Builder addProducts(Product value)

List of products.

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

Parameter
NameDescription
valueProduct
Returns
Type<