public static final class ViewCollectionItemsResponse.Builder extends GeneratedMessageV3.Builder<ViewCollectionItemsResponse.Builder> implements ViewCollectionItemsResponseOrBuilder
Response message for ViewCollectionItems.
Protobuf type google.cloud.visionai.v1.ViewCollectionItemsResponse
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
addAllItems(Iterable<? extends CollectionItem> values)
public ViewCollectionItemsResponse.Builder addAllItems(Iterable<? extends CollectionItem> values)
The items from the specified collection.
repeated .google.cloud.visionai.v1.CollectionItem items = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.visionai.v1.CollectionItem>
|
addItems(CollectionItem value)
public ViewCollectionItemsResponse.Builder addItems(CollectionItem value)
The items from the specified collection.
repeated .google.cloud.visionai.v1.CollectionItem items = 1;
addItems(CollectionItem.Builder builderForValue)
public ViewCollectionItemsResponse.Builder addItems(CollectionItem.Builder builderForValue)
The items from the specified collection.
repeated .google.cloud.visionai.v1.CollectionItem items = 1;
addItems(int index, CollectionItem value)
public ViewCollectionItemsResponse.Builder addItems(int index, CollectionItem value)
The items from the specified collection.
repeated .google.cloud.visionai.v1.CollectionItem items = 1;
addItems(int index, CollectionItem.Builder builderForValue)
public ViewCollectionItemsResponse.Builder addItems(int index, CollectionItem.Builder builderForValue)
The items from the specified collection.
repeated .google.cloud.visionai.v1.CollectionItem items = 1;
addItemsBuilder()
public CollectionItem.Builder addItemsBuilder()
The items from the specified collection.
repeated .google.cloud.visionai.v1.CollectionItem items = 1;
addItemsBuilder(int index)
public CollectionItem.Builder addItemsBuilder(int index)
The items from the specified collection.
repeated .google.cloud.visionai.v1.CollectionItem items = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ViewCollectionItemsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ViewCollectionItemsResponse build()
buildPartial()
public ViewCollectionItemsResponse buildPartial()
clear()
public ViewCollectionItemsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ViewCollectionItemsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearItems()
public ViewCollectionItemsResponse.Builder clearItems()
The items from the specified collection.
repeated .google.cloud.visionai.v1.CollectionItem items = 1;
clearNextPageToken()
public ViewCollectionItemsResponse.Builder clearNextPageToken()
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ViewCollectionItemsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ViewCollectionItemsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ViewCollectionItemsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getItems(int index)
public CollectionItem getItems(int index)
The items from the specified collection.
repeated .google.cloud.visionai.v1.CollectionItem items = 1;
Parameter |
Name |
Description |
index |
int
|
getItemsBuilder(int index)
public CollectionItem.Builder getItemsBuilder(int index)
The items from the specified collection.
repeated .google.cloud.visionai.v1.CollectionItem items = 1;
Parameter |
Name |
Description |
index |
int
|
getItemsBuilderList()
public List<CollectionItem.Builder> getItemsBuilderList()
The items from the specified collection.
repeated .google.cloud.visionai.v1.CollectionItem items = 1;
getItemsCount()
public int getItemsCount()
The items from the specified collection.
repeated .google.cloud.visionai.v1.CollectionItem items = 1;
Returns |
Type |
Description |
int |
|
getItemsList()
public List<CollectionItem> getItemsList()
The items from the specified collection.
repeated .google.cloud.visionai.v1.CollectionItem items = 1;
getItemsOrBuilder(int index)
public CollectionItemOrBuilder getItemsOrBuilder(int index)
The items from the specified collection.
repeated .google.cloud.visionai.v1.CollectionItem items = 1;
Parameter |
Name |
Description |
index |
int
|
getItemsOrBuilderList()
public List<? extends CollectionItemOrBuilder> getItemsOrBuilderList()
The items from the specified collection.
repeated .google.cloud.visionai.v1.CollectionItem items = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.visionai.v1.CollectionItemOrBuilder> |
|
getNextPageToken()
public String getNextPageToken()
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ViewCollectionItemsResponse other)
public ViewCollectionItemsResponse.Builder mergeFrom(ViewCollectionItemsResponse other)
public ViewCollectionItemsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ViewCollectionItemsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ViewCollectionItemsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeItems(int index)
public ViewCollectionItemsResponse.Builder removeItems(int index)
The items from the specified collection.
repeated .google.cloud.visionai.v1.CollectionItem items = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ViewCollectionItemsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setItems(int index, CollectionItem value)
public ViewCollectionItemsResponse.Builder setItems(int index, CollectionItem value)
The items from the specified collection.
repeated .google.cloud.visionai.v1.CollectionItem items = 1;
setItems(int index, CollectionItem.Builder builderForValue)
public ViewCollectionItemsResponse.Builder setItems(int index, CollectionItem.Builder builderForValue)
The items from the specified collection.
repeated .google.cloud.visionai.v1.CollectionItem items = 1;
setNextPageToken(String value)
public ViewCollectionItemsResponse.Builder setNextPageToken(String value)
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ViewCollectionItemsResponse.Builder setNextPageTokenBytes(ByteString value)
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ViewCollectionItemsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ViewCollectionItemsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides