Class ListProductsInProductSetResponse.Builder (3.11.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

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

addProducts(Product value)

public ListProductsInProductSetResponse.Builder addProducts(Product value)

The list of Products.

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

Parameter
NameDescription
valueProduct
Returns
TypeDescription
ListProductsInProductSetResponse.Builder

addProducts(Product.Builder builderForValue)

public ListProductsInProductSetResponse.Builder addProducts(Product.Builder builderForValue)

The list of Products.

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

Parameter
NameDescription
builderForValueProduct.Builder
Returns
TypeDescription
ListProductsInProductSetResponse.Builder

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
NameDescription
indexint
valueProduct
Returns
TypeDescription
ListProductsInProductSetResponse.Builder

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;

Parameters
NameDescription
indexint
builderForValueProduct.Builder
Returns
TypeDescription
ListProductsInProductSetResponse.Builder

addProductsBuilder()

public Product.Builder addProductsBuilder()

The list of Products.

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

Returns
TypeDescription
Product.Builder

addProductsBuilder(int index)

public Product.Builder addProductsBuilder(int index)

The list of Products.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Product.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListProductsInProductSetResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListProductsInProductSetResponse.Builder
Overrides

build()

public ListProductsInProductSetResponse build()
Returns
TypeDescription
ListProductsInProductSetResponse

buildPartial()

public ListProductsInProductSetResponse buildPartial()
Returns
TypeDescription
ListProductsInProductSetResponse

clear()

public ListProductsInProductSetResponse.Builder clear()
Returns
TypeDescription
ListProductsInProductSetResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListProductsInProductSetResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListProductsInProductSetResponse.Builder
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;

Returns
TypeDescription
ListProductsInProductSetResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListProductsInProductSetResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListProductsInProductSetResponse.Builder
Overrides

clearProducts()

public ListProductsInProductSetResponse.Builder clearProducts()

The list of Products.

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

Returns
TypeDescription
ListProductsInProductSetResponse.Builder

clone()

public ListProductsInProductSetResponse.Builder clone()
Returns
TypeDescription
ListProductsInProductSetResponse.Builder
Overrides

getDefaultInstanceForType()

public ListProductsInProductSetResponse getDefaultInstanceForType()
Returns
TypeDescription
ListProductsInProductSetResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Product

getProductsBuilder(int index)

public Product.Builder getProductsBuilder(int index)

The list of Products.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Product.Builder

getProductsBuilderList()

public List<Product.Builder> getProductsBuilderList()

The list of Products.

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

Returns
TypeDescription
List<Builder>

getProductsCount()

public int getProductsCount()

The list of Products.

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

Returns
TypeDescription
int

getProductsList()

public List<Product> getProductsList()

The list of Products.

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

Returns
TypeDescription
List<Product>

getProductsOrBuilder(int index)

public ProductOrBuilder getProductsOrBuilder(int index)

The list of Products.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ProductOrBuilder

getProductsOrBuilderList()

public List<? extends ProductOrBuilder> getProductsOrBuilderList()

The list of Products.

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

Returns
TypeDescription
List<? extends com.google.cloud.vision.v1p4beta1.ProductOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListProductsInProductSetResponse other)

public ListProductsInProductSetResponse.Builder mergeFrom(ListProductsInProductSetResponse other)
Parameter
NameDescription
otherListProductsInProductSetResponse
Returns
TypeDescription
ListProductsInProductSetResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListProductsInProductSetResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListProductsInProductSetResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListProductsInProductSetResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListProductsInProductSetResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListProductsInProductSetResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListProductsInProductSetResponse.Builder
Overrides

removeProducts(int index)

public ListProductsInProductSetResponse.Builder removeProducts(int index)

The list of Products.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListProductsInProductSetResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListProductsInProductSetResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListProductsInProductSetResponse.Builder
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListProductsInProductSetResponse.Builder

This builder for chaining.

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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListProductsInProductSetResponse.Builder

This builder for chaining.

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
NameDescription
indexint
valueProduct
Returns
TypeDescription
ListProductsInProductSetResponse.Builder

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;

Parameters
NameDescription
indexint
builderForValueProduct.Builder
Returns
TypeDescription
ListProductsInProductSetResponse.Builder

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

public ListProductsInProductSetResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListProductsInProductSetResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListProductsInProductSetResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListProductsInProductSetResponse.Builder
Overrides