Class ListReferenceImagesResponse (3.53.0)

public final class ListReferenceImagesResponse extends GeneratedMessageV3 implements ListReferenceImagesResponseOrBuilder

Response message for the ListReferenceImages method.

Protobuf type google.cloud.vision.v1p3beta1.ListReferenceImagesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

PAGE_SIZE_FIELD_NUMBER

public static final int PAGE_SIZE_FIELD_NUMBER
Field Value
Type Description
int

REFERENCE_IMAGES_FIELD_NUMBER

public static final int REFERENCE_IMAGES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListReferenceImagesResponse getDefaultInstance()
Returns
Type Description
ListReferenceImagesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ListReferenceImagesResponse.Builder newBuilder()
Returns
Type Description
ListReferenceImagesResponse.Builder

newBuilder(ListReferenceImagesResponse prototype)

public static ListReferenceImagesResponse.Builder newBuilder(ListReferenceImagesResponse prototype)
Parameter
Name Description
prototype ListReferenceImagesResponse
Returns
Type Description
ListReferenceImagesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListReferenceImagesResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListReferenceImagesResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListReferenceImagesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListReferenceImagesResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListReferenceImagesResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListReferenceImagesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListReferenceImagesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListReferenceImagesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListReferenceImagesResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListReferenceImagesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListReferenceImagesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListReferenceImagesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListReferenceImagesResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListReferenceImagesResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListReferenceImagesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListReferenceImagesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListReferenceImagesResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListReferenceImagesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListReferenceImagesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListReferenceImagesResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListReferenceImagesResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListReferenceImagesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListReferenceImagesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListReferenceImagesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListReferenceImagesResponse> parser()
Returns
Type Description
Parser<ListReferenceImagesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ListReferenceImagesResponse getDefaultInstanceForType()
Returns
Type Description
ListReferenceImagesResponse

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()

public int getPageSize()

The maximum number of items to return. Default 10, maximum 100.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getParserForType()

public Parser<ListReferenceImagesResponse> getParserForType()
Returns
Type Description
Parser<ListReferenceImagesResponse>
Overrides

getReferenceImages(int index)

public ReferenceImage getReferenceImages(int index)

The list of reference images.

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

Parameter
Name Description
index int
Returns
Type Description
ReferenceImage

getReferenceImagesCount()

public int getReferenceImagesCount()

The list of reference images.

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

Returns
Type Description
int

getReferenceImagesList()

public List<ReferenceImage> getReferenceImagesList()

The list of reference images.

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

Returns
Type Description
List<ReferenceImage>

getReferenceImagesOrBuilder(int index)

public ReferenceImageOrBuilder getReferenceImagesOrBuilder(int index)

The list of reference images.

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

Parameter
Name Description
index int
Returns
Type Description
ReferenceImageOrBuilder

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>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListReferenceImagesResponse.Builder newBuilderForType()
Returns
Type Description
ListReferenceImagesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListReferenceImagesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListReferenceImagesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ListReferenceImagesResponse.Builder toBuilder()
Returns
Type Description
ListReferenceImagesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException