public final class ListReferenceImagesResponse extends GeneratedMessageV3 implements ListReferenceImagesResponseOrBuilder
Response message for the ListReferenceImages
method.
Protobuf type google.cloud.vision.v1.ListReferenceImagesResponse
Static Fields
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER
Field Value
REFERENCE_IMAGES_FIELD_NUMBER
public static final int REFERENCE_IMAGES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ListReferenceImagesResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ListReferenceImagesResponse.Builder newBuilder()
Returns
newBuilder(ListReferenceImagesResponse prototype)
public static ListReferenceImagesResponse.Builder newBuilder(ListReferenceImagesResponse prototype)
Parameter
Returns
public static ListReferenceImagesResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListReferenceImagesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListReferenceImagesResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListReferenceImagesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListReferenceImagesResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListReferenceImagesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListReferenceImagesResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListReferenceImagesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListReferenceImagesResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListReferenceImagesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListReferenceImagesResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListReferenceImagesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ListReferenceImagesResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ListReferenceImagesResponse getDefaultInstanceForType()
Returns
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.
|
getParserForType()
public Parser<ListReferenceImagesResponse> getParserForType()
Returns
Overrides
getReferenceImages(int index)
public ReferenceImage getReferenceImages(int index)
The list of reference images.
repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
Parameter
Returns
getReferenceImagesCount()
public int getReferenceImagesCount()
The list of reference images.
repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
Returns
getReferenceImagesList()
public List<ReferenceImage> getReferenceImagesList()
The list of reference images.
repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
Returns
getReferenceImagesOrBuilder(int index)
public ReferenceImageOrBuilder getReferenceImagesOrBuilder(int index)
The list of reference images.
repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
Parameter
Returns
getReferenceImagesOrBuilderList()
public List<? extends ReferenceImageOrBuilder> getReferenceImagesOrBuilderList()
The list of reference images.
repeated .google.cloud.vision.v1.ReferenceImage reference_images = 1;
Returns
Type | Description |
List<? extends com.google.cloud.vision.v1.ReferenceImageOrBuilder> | |
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ListReferenceImagesResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListReferenceImagesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ListReferenceImagesResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions