Class ListReferenceImagesResponse (3.37.0)

public final class ListReferenceImagesResponse extends GeneratedMessageV3 implements ListReferenceImagesResponseOrBuilder

Response message for the ListReferenceImages method.

Protobuf type google.cloud.vision.v1p4beta1.ListReferenceImagesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

PAGE_SIZE_FIELD_NUMBER

public static final int PAGE_SIZE_FIELD_NUMBER
Field Value
TypeDescription
int

REFERENCE_IMAGES_FIELD_NUMBER

public static final int REFERENCE_IMAGES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListReferenceImagesResponse getDefaultInstance()
Returns
TypeDescription
ListReferenceImagesResponse

getDescriptor()

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

newBuilder()

public static ListReferenceImagesResponse.Builder newBuilder()
Returns
TypeDescription
ListReferenceImagesResponse.Builder

newBuilder(ListReferenceImagesResponse prototype)

public static ListReferenceImagesResponse.Builder newBuilder(ListReferenceImagesResponse prototype)
Parameter
NameDescription
prototypeListReferenceImagesResponse
Returns
TypeDescription
ListReferenceImagesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListReferenceImagesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListReferenceImagesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListReferenceImagesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListReferenceImagesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListReferenceImagesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListReferenceImagesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListReferenceImagesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListReferenceImagesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListReferenceImagesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListReferenceImagesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListReferenceImagesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListReferenceImagesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListReferenceImagesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListReferenceImagesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListReferenceImagesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListReferenceImagesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListReferenceImagesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListReferenceImagesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListReferenceImagesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListReferenceImagesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListReferenceImagesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListReferenceImagesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListReferenceImagesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListReferenceImagesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListReferenceImagesResponse> parser()
Returns
TypeDescription
Parser<ListReferenceImagesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListReferenceImagesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListReferenceImagesResponse

getNextPageToken()

public String getNextPageToken()

The next_page_token returned from a previous List request, if any.

string next_page_token = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The pageSize.

getParserForType()

public Parser<ListReferenceImagesResponse> getParserForType()
Returns
TypeDescription
Parser<ListReferenceImagesResponse>
Overrides

getReferenceImages(int index)

public ReferenceImage getReferenceImages(int index)

The list of reference images.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ReferenceImage

getReferenceImagesCount()

public int getReferenceImagesCount()

The list of reference images.

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

Returns
TypeDescription
int

getReferenceImagesList()

public List<ReferenceImage> getReferenceImagesList()

The list of reference images.

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

Returns
TypeDescription
List<ReferenceImage>

getReferenceImagesOrBuilder(int index)

public ReferenceImageOrBuilder getReferenceImagesOrBuilder(int index)

The list of reference images.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ReferenceImageOrBuilder

getReferenceImagesOrBuilderList()

public List<? extends ReferenceImageOrBuilder> getReferenceImagesOrBuilderList()

The list of reference images.

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

Returns
TypeDescription
List<? extends com.google.cloud.vision.v1p4beta1.ReferenceImageOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListReferenceImagesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListReferenceImagesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListReferenceImagesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListReferenceImagesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListReferenceImagesResponse.Builder toBuilder()
Returns
TypeDescription
ListReferenceImagesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException