public static final class ListReferenceImagesResponse.Builder extends GeneratedMessageV3.Builder<ListReferenceImagesResponse.Builder> implements ListReferenceImagesResponseOrBuilder
Response message for the ListReferenceImages
method.
Protobuf type google.cloud.vision.v1p3beta1.ListReferenceImagesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addAllReferenceImages(Iterable<? extends ReferenceImage> values)
public ListReferenceImagesResponse.Builder addAllReferenceImages(Iterable<? extends ReferenceImage> values)
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.vision.v1p3beta1.ReferenceImage>
|
Returns
addReferenceImages(ReferenceImage value)
public ListReferenceImagesResponse.Builder addReferenceImages(ReferenceImage value)
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
Parameter
Returns
addReferenceImages(ReferenceImage.Builder builderForValue)
public ListReferenceImagesResponse.Builder addReferenceImages(ReferenceImage.Builder builderForValue)
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
Parameter
Returns
addReferenceImages(int index, ReferenceImage value)
public ListReferenceImagesResponse.Builder addReferenceImages(int index, ReferenceImage value)
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
Parameters
Returns
addReferenceImages(int index, ReferenceImage.Builder builderForValue)
public ListReferenceImagesResponse.Builder addReferenceImages(int index, ReferenceImage.Builder builderForValue)
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
Parameters
Returns
addReferenceImagesBuilder()
public ReferenceImage.Builder addReferenceImagesBuilder()
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
Returns
addReferenceImagesBuilder(int index)
public ReferenceImage.Builder addReferenceImagesBuilder(int index)
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListReferenceImagesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListReferenceImagesResponse build()
Returns
buildPartial()
public ListReferenceImagesResponse buildPartial()
Returns
clear()
public ListReferenceImagesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListReferenceImagesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListReferenceImagesResponse.Builder clearNextPageToken()
The next_page_token returned from a previous List request, if any.
string next_page_token = 3;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListReferenceImagesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPageSize()
public ListReferenceImagesResponse.Builder clearPageSize()
The maximum number of items to return. Default 10, maximum 100.
int32 page_size = 2;
Returns
clearReferenceImages()
public ListReferenceImagesResponse.Builder clearReferenceImages()
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
Returns
clone()
public ListReferenceImagesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListReferenceImagesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
The next_page_token returned from a previous List request, if any.
string next_page_token = 3;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
The next_page_token returned from a previous List request, if any.
string next_page_token = 3;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
getPageSize()
The maximum number of items to return. Default 10, maximum 100.
int32 page_size = 2;
Returns
Type | Description |
int | The pageSize.
|
getReferenceImages(int index)
public ReferenceImage getReferenceImages(int index)
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
Parameter
Returns
getReferenceImagesBuilder(int index)
public ReferenceImage.Builder getReferenceImagesBuilder(int index)
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
Parameter
Returns
getReferenceImagesBuilderList()
public List<ReferenceImage.Builder> getReferenceImagesBuilderList()
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
Returns
getReferenceImagesCount()
public int getReferenceImagesCount()
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
Returns
getReferenceImagesList()
public List<ReferenceImage> getReferenceImagesList()
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
Returns
getReferenceImagesOrBuilder(int index)
public ReferenceImageOrBuilder getReferenceImagesOrBuilder(int index)
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
Parameter
Returns
getReferenceImagesOrBuilderList()
public List<? extends ReferenceImageOrBuilder> getReferenceImagesOrBuilderList()
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
Returns
Type | Description |
List<? extends com.google.cloud.vision.v1p3beta1.ReferenceImageOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListReferenceImagesResponse other)
public ListReferenceImagesResponse.Builder mergeFrom(ListReferenceImagesResponse other)
Parameter
Returns
public ListReferenceImagesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListReferenceImagesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListReferenceImagesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeReferenceImages(int index)
public ListReferenceImagesResponse.Builder removeReferenceImages(int index)
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListReferenceImagesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListReferenceImagesResponse.Builder setNextPageToken(String value)
The next_page_token returned from a previous List request, if any.
string next_page_token = 3;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListReferenceImagesResponse.Builder setNextPageTokenBytes(ByteString value)
The next_page_token returned from a previous List request, if any.
string next_page_token = 3;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setPageSize(int value)
public ListReferenceImagesResponse.Builder setPageSize(int value)
The maximum number of items to return. Default 10, maximum 100.
int32 page_size = 2;
Parameter
Name | Description |
value | int
The pageSize to set.
|
Returns
setReferenceImages(int index, ReferenceImage value)
public ListReferenceImagesResponse.Builder setReferenceImages(int index, ReferenceImage value)
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
Parameters
Returns
setReferenceImages(int index, ReferenceImage.Builder builderForValue)
public ListReferenceImagesResponse.Builder setReferenceImages(int index, ReferenceImage.Builder builderForValue)
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListReferenceImagesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListReferenceImagesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides