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