Class ListReferenceImagesResponse.Builder (2.1.4)

public static final class ListReferenceImagesResponse.Builder extends GeneratedMessageV3.Builder<ListReferenceImagesResponse.Builder> implements ListReferenceImagesResponseOrBuilder

Response message for the ListReferenceImages method.

Protobuf type google.cloud.vision.v1.ListReferenceImagesResponse

Static Methods

getDescriptor()

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

Methods

addAllReferenceImages(Iterable<? extends ReferenceImage> values)

public ListReferenceImagesResponse.Builder addAllReferenceImages(Iterable<? extends ReferenceImage> values)

The list of reference images.

repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1.ReferenceImage>
Returns
TypeDescription
ListReferenceImagesResponse.Builder

addReferenceImages(ReferenceImage value)

public ListReferenceImagesResponse.Builder addReferenceImages(ReferenceImage value)

The list of reference images.

repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;

Parameter
NameDescription
valueReferenceImage
Returns
TypeDescription
ListReferenceImagesResponse.Builder

addReferenceImages(ReferenceImage.Builder builderForValue)

public ListReferenceImagesResponse.Builder addReferenceImages(ReferenceImage.Builder builderForValue)

The list of reference images.

repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;

Parameter
NameDescription
builderForValueReferenceImage.Builder
Returns
TypeDescription
ListReferenceImagesResponse.Builder

addReferenceImages(int index, ReferenceImage value)

public ListReferenceImagesResponse.Builder addReferenceImages(int index, ReferenceImage value)

The list of reference images.

repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;

Parameters
NameDescription
indexint
valueReferenceImage
Returns
TypeDescription
ListReferenceImagesResponse.Builder

addReferenceImages(int index, ReferenceImage.Builder builderForValue)

public ListReferenceImagesResponse.Builder addReferenceImages(int index, ReferenceImage.Builder builderForValue)

The list of reference images.

repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;

Parameters
NameDescription
index