public static final class ListReferenceImagesResponse.Builder extends GeneratedMessageV3.Builder<ListReferenceImagesResponse.Builder> implements ListReferenceImagesResponseOrBuilder
Response message for the `ListReferenceImages` method.Protobuf type
google.cloud.vision.v1p3beta1.ListReferenceImagesResponse
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListReferenceImagesResponse.Builder>
public ListReferenceImagesResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListReferenceImagesResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListReferenceImagesResponse.Builder>
public ListReferenceImagesResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListReferenceImagesResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListReferenceImagesResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListReferenceImagesResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListReferenceImagesResponse.Builder>
public ListReferenceImagesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListReferenceImagesResponse.Builder>
public ListReferenceImagesResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListReferenceImagesResponse.Builder>
public ListReferenceImagesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListReferenceImagesResponse.Builder>
public ListReferenceImagesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListReferenceImagesResponse.Builder>
public ListReferenceImagesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListReferenceImagesResponse.Builder>
public ListReferenceImagesResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListReferenceImagesResponse.Builder>
public ListReferenceImagesResponse.Builder mergeFrom(ListReferenceImagesResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListReferenceImagesResponse.Builder>
public ListReferenceImagesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListReferenceImagesResponse.Builder>
IOException
public List<ReferenceImage> getReferenceImagesList()
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
getReferenceImagesList
in interface ListReferenceImagesResponseOrBuilder
public int getReferenceImagesCount()
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
getReferenceImagesCount
in interface ListReferenceImagesResponseOrBuilder
public ReferenceImage getReferenceImages(int index)
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
getReferenceImages
in interface ListReferenceImagesResponseOrBuilder
public ListReferenceImagesResponse.Builder setReferenceImages(int index, ReferenceImage value)
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
public ListReferenceImagesResponse.Builder setReferenceImages(int index, ReferenceImage.Builder builderForValue)
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
public ListReferenceImagesResponse.Builder addReferenceImages(ReferenceImage value)
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
public ListReferenceImagesResponse.Builder addReferenceImages(int index, ReferenceImage value)
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
public ListReferenceImagesResponse.Builder addReferenceImages(ReferenceImage.Builder builderForValue)
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
public ListReferenceImagesResponse.Builder addReferenceImages(int index, ReferenceImage.Builder builderForValue)
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
public ListReferenceImagesResponse.Builder addAllReferenceImages(Iterable<? extends ReferenceImage> values)
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
public ListReferenceImagesResponse.Builder clearReferenceImages()
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
public ListReferenceImagesResponse.Builder removeReferenceImages(int index)
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
public ReferenceImage.Builder getReferenceImagesBuilder(int index)
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
public ReferenceImageOrBuilder getReferenceImagesOrBuilder(int index)
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
getReferenceImagesOrBuilder
in interface ListReferenceImagesResponseOrBuilder
public List<? extends ReferenceImageOrBuilder> getReferenceImagesOrBuilderList()
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
getReferenceImagesOrBuilderList
in interface ListReferenceImagesResponseOrBuilder
public ReferenceImage.Builder addReferenceImagesBuilder()
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
public ReferenceImage.Builder addReferenceImagesBuilder(int index)
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
public List<ReferenceImage.Builder> getReferenceImagesBuilderList()
The list of reference images.
repeated .google.cloud.vision.v1p3beta1.ReferenceImage reference_images = 1;
public int getPageSize()
The maximum number of items to return. Default 10, maximum 100.
int32 page_size = 2;
getPageSize
in interface ListReferenceImagesResponseOrBuilder
public ListReferenceImagesResponse.Builder setPageSize(int value)
The maximum number of items to return. Default 10, maximum 100.
int32 page_size = 2;
value
- The pageSize to set.public ListReferenceImagesResponse.Builder clearPageSize()
The maximum number of items to return. Default 10, maximum 100.
int32 page_size = 2;
public String getNextPageToken()
The next_page_token returned from a previous List request, if any.
string next_page_token = 3;
getNextPageToken
in interface ListReferenceImagesResponseOrBuilder
public ByteString getNextPageTokenBytes()
The next_page_token returned from a previous List request, if any.
string next_page_token = 3;
getNextPageTokenBytes
in interface ListReferenceImagesResponseOrBuilder
public ListReferenceImagesResponse.Builder setNextPageToken(String value)
The next_page_token returned from a previous List request, if any.
string next_page_token = 3;
value
- The nextPageToken to set.public ListReferenceImagesResponse.Builder clearNextPageToken()
The next_page_token returned from a previous List request, if any.
string next_page_token = 3;
public ListReferenceImagesResponse.Builder setNextPageTokenBytes(ByteString value)
The next_page_token returned from a previous List request, if any.
string next_page_token = 3;
value
- The bytes for nextPageToken to set.public final ListReferenceImagesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListReferenceImagesResponse.Builder>
public final ListReferenceImagesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListReferenceImagesResponse.Builder>
Copyright © 2022 Google LLC. All rights reserved.