public static final class ListProductsInProductSetResponse.Builder extends GeneratedMessage.Builder<ListProductsInProductSetResponse.Builder> implements ListProductsInProductSetResponseOrBuilder Response message for the ListProductsInProductSet method.
Protobuf type google.cloud.vision.v1.ListProductsInProductSetResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListProductsInProductSetResponse.BuilderImplements
ListProductsInProductSetResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllProducts(Iterable<? extends Product> values)
public ListProductsInProductSetResponse.Builder addAllProducts(Iterable<? extends Product> values)The list of Products.
repeated .google.cloud.vision.v1.Product products = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.vision.v1.Product> |
| Returns | |
|---|---|
| Type | Description |
ListProductsInProductSetResponse.Builder |
|
addProducts(Product value)
public ListProductsInProductSetResponse.Builder addProducts(Product value)The list of Products.
repeated .google.cloud.vision.v1.Product products = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Product |
| Returns | |
|---|---|
| Type | Description |
ListProductsInProductSetResponse.Builder |
|
addProducts(Product.Builder builderForValue)
public ListProductsInProductSetResponse.Builder addProducts(Product.Builder builderForValue)The list of Products.
repeated .google.cloud.vision.v1.Product products = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Product.Builder |
| Returns | |
|---|---|
| Type | Description |
ListProductsInProductSetResponse.Builder |
|
addProducts(int index, Product value)
public ListProductsInProductSetResponse.Builder addProducts(int index, Product value)The list of Products.
repeated .google.cloud.vision.v1.Product products = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Product |
| Returns | |
|---|---|
| Type | Description |
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.v1.Product products = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Product.Builder |
| Returns | |
|---|---|
| Type | Description |
ListProductsInProductSetResponse.Builder |
|
addProductsBuilder()
public Product.Builder addProductsBuilder()The list of Products.
repeated .google.cloud.vision.v1.Product products = 1;
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
|
addProductsBuilder(int index)
public Product.Builder addProductsBuilder(int index)The list of Products.
repeated .google.cloud.vision.v1.Product products = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
|
build()
public ListProductsInProductSetResponse build()| Returns | |
|---|---|
| Type | Description |
ListProductsInProductSetResponse |
|
buildPartial()
public ListProductsInProductSetResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListProductsInProductSetResponse |
|
clear()
public ListProductsInProductSetResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListProductsInProductSetResponse.Builder |
|
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 | |
|---|---|
| Type | Description |
ListProductsInProductSetResponse.Builder |
This builder for chaining. |
clearProducts()
public ListProductsInProductSetResponse.Builder clearProducts()The list of Products.
repeated .google.cloud.vision.v1.Product products = 1;
| Returns | |
|---|---|
| Type | Description |
ListProductsInProductSetResponse.Builder |
|
getDefaultInstanceForType()
public ListProductsInProductSetResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListProductsInProductSetResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getProducts(int index)
public Product getProducts(int index)The list of Products.
repeated .google.cloud.vision.v1.Product products = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Product |
|
getProductsBuilder(int index)
public Product.Builder getProductsBuilder(int index)The list of Products.
repeated .google.cloud.vision.v1.Product products = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Product.Builder |
|
getProductsBuilderList()
public List<Product.Builder> getProductsBuilderList()The list of Products.
repeated .google.cloud.vision.v1.Product products = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getProductsCount()
public int getProductsCount()The list of Products.
repeated .google.cloud.vision.v1.Product products = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getProductsList()
public List<Product> getProductsList()The list of Products.
repeated .google.cloud.vision.v1.Product products = 1;
| Returns | |
|---|---|
| Type | Description |
List<Product> |
|
getProductsOrBuilder(int index)
public ProductOrBuilder getProductsOrBuilder(int index)The list of Products.
repeated .google.cloud.vision.v1.Product products = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ProductOrBuilder |
|
getProductsOrBuilderList()
public List<? extends ProductOrBuilder> getProductsOrBuilderList()The list of Products.
repeated .google.cloud.vision.v1.Product products = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.vision.v1.ProductOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListProductsInProductSetResponse other)
public ListProductsInProductSetResponse.Builder mergeFrom(ListProductsInProductSetResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListProductsInProductSetResponse |
| Returns | |
|---|---|
| Type | Description |
ListProductsInProductSetResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListProductsInProductSetResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListProductsInProductSetResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListProductsInProductSetResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListProductsInProductSetResponse.Builder |
|
removeProducts(int index)
public ListProductsInProductSetResponse.Builder removeProducts(int index)The list of Products.
repeated .google.cloud.vision.v1.Product products = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListProductsInProductSetResponse.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
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.v1.Product products = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Product |
| Returns | |
|---|---|
| Type | Description |
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.v1.Product products = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Product.Builder |
| Returns | |
|---|---|
| Type | Description |
ListProductsInProductSetResponse.Builder |
|