public static final class ListProductSetsResponse.Builder extends GeneratedMessageV3.Builder<ListProductSetsResponse.Builder> implements ListProductSetsResponseOrBuilder
Response message for the ListProductSets
method.
Protobuf type google.cloud.vision.v1.ListProductSetsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllProductSets(Iterable<? extends ProductSet> values)
public ListProductSetsResponse.Builder addAllProductSets(Iterable<? extends ProductSet> values)
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.vision.v1.ProductSet>
|
addProductSets(ProductSet value)
public ListProductSetsResponse.Builder addProductSets(ProductSet value)
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
addProductSets(ProductSet.Builder builderForValue)
public ListProductSetsResponse.Builder addProductSets(ProductSet.Builder builderForValue)
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
addProductSets(int index, ProductSet value)
public ListProductSetsResponse.Builder addProductSets(int index, ProductSet value)
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
addProductSets(int index, ProductSet.Builder builderForValue)
public ListProductSetsResponse.Builder addProductSets(int index, ProductSet.Builder builderForValue)
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
addProductSetsBuilder()
public ProductSet.Builder addProductSetsBuilder()
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
addProductSetsBuilder(int index)
public ProductSet.Builder addProductSetsBuilder(int index)
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListProductSetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListProductSetsResponse build()
buildPartial()
public ListProductSetsResponse buildPartial()
clear()
public ListProductSetsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListProductSetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListProductSetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProductSets()
public ListProductSetsResponse.Builder clearProductSets()
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
clone()
public ListProductSetsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListProductSetsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.v1.ProductSet product_sets = 1;
Parameter |
Name |
Description |
index |
int
|
getProductSetsBuilder(int index)
public ProductSet.Builder getProductSetsBuilder(int index)
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
Parameter |
Name |
Description |
index |
int
|
getProductSetsBuilderList()
public List<ProductSet.Builder> getProductSetsBuilderList()
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
getProductSetsCount()
public int getProductSetsCount()
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
Returns |
Type |
Description |
int |
|
getProductSetsList()
public List<ProductSet> getProductSetsList()
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
getProductSetsOrBuilder(int index)
public ProductSetOrBuilder getProductSetsOrBuilder(int index)
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
Parameter |
Name |
Description |
index |
int
|
getProductSetsOrBuilderList()
public List<? extends ProductSetOrBuilder> getProductSetsOrBuilderList()
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.vision.v1.ProductSetOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListProductSetsResponse other)
public ListProductSetsResponse.Builder mergeFrom(ListProductSetsResponse other)
public ListProductSetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListProductSetsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListProductSetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeProductSets(int index)
public ListProductSetsResponse.Builder removeProductSets(int index)
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListProductSetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setProductSets(int index, ProductSet value)
public ListProductSetsResponse.Builder setProductSets(int index, ProductSet value)
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
setProductSets(int index, ProductSet.Builder builderForValue)
public ListProductSetsResponse.Builder setProductSets(int index, ProductSet.Builder builderForValue)
List of ProductSets.
repeated .google.cloud.vision.v1.ProductSet product_sets = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListProductSetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListProductSetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides