public final class AnnotateImageResponse extends GeneratedMessageV3 implements AnnotateImageResponseOrBuilder
Response to an image annotation request.Protobuf type
google.cloud.vision.v1p1beta1.AnnotateImageResponse
Modifier and Type | Class and Description |
---|---|
static class |
AnnotateImageResponse.Builder
Response to an image annotation request.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
CROP_HINTS_ANNOTATION_FIELD_NUMBER |
static int |
ERROR_FIELD_NUMBER |
static int |
FACE_ANNOTATIONS_FIELD_NUMBER |
static int |
FULL_TEXT_ANNOTATION_FIELD_NUMBER |
static int |
IMAGE_PROPERTIES_ANNOTATION_FIELD_NUMBER |
static int |
LABEL_ANNOTATIONS_FIELD_NUMBER |
static int |
LANDMARK_ANNOTATIONS_FIELD_NUMBER |
static int |
LOGO_ANNOTATIONS_FIELD_NUMBER |
static int |
SAFE_SEARCH_ANNOTATION_FIELD_NUMBER |
static int |
TEXT_ANNOTATIONS_FIELD_NUMBER |
static int |
WEB_DETECTION_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
CropHintsAnnotation |
getCropHintsAnnotation()
If present, crop hints have completed successfully.
|
CropHintsAnnotationOrBuilder |
getCropHintsAnnotationOrBuilder()
If present, crop hints have completed successfully.
|
static AnnotateImageResponse |
getDefaultInstance() |
AnnotateImageResponse |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Status |
getError()
If set, represents the error message for the operation.
|
StatusOrBuilder |
getErrorOrBuilder()
If set, represents the error message for the operation.
|
FaceAnnotation |
getFaceAnnotations(int index)
If present, face detection has completed successfully.
|
int |
getFaceAnnotationsCount()
If present, face detection has completed successfully.
|
java.util.List<FaceAnnotation> |
getFaceAnnotationsList()
If present, face detection has completed successfully.
|
FaceAnnotationOrBuilder |
getFaceAnnotationsOrBuilder(int index)
If present, face detection has completed successfully.
|
java.util.List<? extends FaceAnnotationOrBuilder> |
getFaceAnnotationsOrBuilderList()
If present, face detection has completed successfully.
|
TextAnnotation |
getFullTextAnnotation()
If present, text (OCR) detection or document (OCR) text detection has
completed successfully.
|
TextAnnotationOrBuilder |
getFullTextAnnotationOrBuilder()
If present, text (OCR) detection or document (OCR) text detection has
completed successfully.
|
ImageProperties |
getImagePropertiesAnnotation()
If present, image properties were extracted successfully.
|
ImagePropertiesOrBuilder |
getImagePropertiesAnnotationOrBuilder()
If present, image properties were extracted successfully.
|
EntityAnnotation |
getLabelAnnotations(int index)
If present, label detection has completed successfully.
|
int |
getLabelAnnotationsCount()
If present, label detection has completed successfully.
|
java.util.List<EntityAnnotation> |
getLabelAnnotationsList()
If present, label detection has completed successfully.
|
EntityAnnotationOrBuilder |
getLabelAnnotationsOrBuilder(int index)
If present, label detection has completed successfully.
|
java.util.List<? extends EntityAnnotationOrBuilder> |
getLabelAnnotationsOrBuilderList()
If present, label detection has completed successfully.
|
EntityAnnotation |
getLandmarkAnnotations(int index)
If present, landmark detection has completed successfully.
|
int |
getLandmarkAnnotationsCount()
If present, landmark detection has completed successfully.
|
java.util.List<EntityAnnotation> |
getLandmarkAnnotationsList()
If present, landmark detection has completed successfully.
|
EntityAnnotationOrBuilder |
getLandmarkAnnotationsOrBuilder(int index)
If present, landmark detection has completed successfully.
|
java.util.List<? extends EntityAnnotationOrBuilder> |
getLandmarkAnnotationsOrBuilderList()
If present, landmark detection has completed successfully.
|
EntityAnnotation |
getLogoAnnotations(int index)
If present, logo detection has completed successfully.
|
int |
getLogoAnnotationsCount()
If present, logo detection has completed successfully.
|
java.util.List<EntityAnnotation> |
getLogoAnnotationsList()
If present, logo detection has completed successfully.
|
EntityAnnotationOrBuilder |
getLogoAnnotationsOrBuilder(int index)
If present, logo detection has completed successfully.
|
java.util.List<? extends EntityAnnotationOrBuilder> |
getLogoAnnotationsOrBuilderList()
If present, logo detection has completed successfully.
|
Parser<AnnotateImageResponse> |
getParserForType() |
SafeSearchAnnotation |
getSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.
|
SafeSearchAnnotationOrBuilder |
getSafeSearchAnnotationOrBuilder()
If present, safe-search annotation has completed successfully.
|
int |
getSerializedSize() |
EntityAnnotation |
getTextAnnotations(int index)
If present, text (OCR) detection has completed successfully.
|
int |
getTextAnnotationsCount()
If present, text (OCR) detection has completed successfully.
|
java.util.List<EntityAnnotation> |
getTextAnnotationsList()
If present, text (OCR) detection has completed successfully.
|
EntityAnnotationOrBuilder |
getTextAnnotationsOrBuilder(int index)
If present, text (OCR) detection has completed successfully.
|
java.util.List<? extends EntityAnnotationOrBuilder> |
getTextAnnotationsOrBuilderList()
If present, text (OCR) detection has completed successfully.
|
UnknownFieldSet |
getUnknownFields() |
WebDetection |
getWebDetection()
If present, web detection has completed successfully.
|
WebDetectionOrBuilder |
getWebDetectionOrBuilder()
If present, web detection has completed successfully.
|
boolean |
hasCropHintsAnnotation()
If present, crop hints have completed successfully.
|
boolean |
hasError()
If set, represents the error message for the operation.
|
boolean |
hasFullTextAnnotation()
If present, text (OCR) detection or document (OCR) text detection has
completed successfully.
|
int |
hashCode() |
boolean |
hasImagePropertiesAnnotation()
If present, image properties were extracted successfully.
|
boolean |
hasSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.
|
boolean |
hasWebDetection()
If present, web detection has completed successfully.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AnnotateImageResponse.Builder |
newBuilder() |
static AnnotateImageResponse.Builder |
newBuilder(AnnotateImageResponse prototype) |
AnnotateImageResponse.Builder |
newBuilderForType() |
protected AnnotateImageResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static AnnotateImageResponse |
parseDelimitedFrom(java.io.InputStream input) |
static AnnotateImageResponse |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static AnnotateImageResponse |
parseFrom(byte[] data) |
static AnnotateImageResponse |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static AnnotateImageResponse |
parseFrom(java.nio.ByteBuffer data) |
static AnnotateImageResponse |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static AnnotateImageResponse |
parseFrom(ByteString data) |
static AnnotateImageResponse |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static AnnotateImageResponse |
parseFrom(CodedInputStream input) |
static AnnotateImageResponse |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static AnnotateImageResponse |
parseFrom(java.io.InputStream input) |
static AnnotateImageResponse |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<AnnotateImageResponse> |
parser() |
AnnotateImageResponse.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int FACE_ANNOTATIONS_FIELD_NUMBER
public static final int LANDMARK_ANNOTATIONS_FIELD_NUMBER
public static final int LOGO_ANNOTATIONS_FIELD_NUMBER
public static final int LABEL_ANNOTATIONS_FIELD_NUMBER
public static final int TEXT_ANNOTATIONS_FIELD_NUMBER
public static final int FULL_TEXT_ANNOTATION_FIELD_NUMBER
public static final int SAFE_SEARCH_ANNOTATION_FIELD_NUMBER
public static final int IMAGE_PROPERTIES_ANNOTATION_FIELD_NUMBER
public static final int CROP_HINTS_ANNOTATION_FIELD_NUMBER
public static final int WEB_DETECTION_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public java.util.List<FaceAnnotation> getFaceAnnotationsList()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
getFaceAnnotationsList
in interface AnnotateImageResponseOrBuilder
public java.util.List<? extends FaceAnnotationOrBuilder> getFaceAnnotationsOrBuilderList()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
getFaceAnnotationsOrBuilderList
in interface AnnotateImageResponseOrBuilder
public int getFaceAnnotationsCount()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
getFaceAnnotationsCount
in interface AnnotateImageResponseOrBuilder
public FaceAnnotation getFaceAnnotations(int index)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
getFaceAnnotations
in interface AnnotateImageResponseOrBuilder
public FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder(int index)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.FaceAnnotation face_annotations = 1;
getFaceAnnotationsOrBuilder
in interface AnnotateImageResponseOrBuilder
public java.util.List<EntityAnnotation> getLandmarkAnnotationsList()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
getLandmarkAnnotationsList
in interface AnnotateImageResponseOrBuilder
public java.util.List<? extends EntityAnnotationOrBuilder> getLandmarkAnnotationsOrBuilderList()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
getLandmarkAnnotationsOrBuilderList
in interface AnnotateImageResponseOrBuilder
public int getLandmarkAnnotationsCount()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
getLandmarkAnnotationsCount
in interface AnnotateImageResponseOrBuilder
public EntityAnnotation getLandmarkAnnotations(int index)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
getLandmarkAnnotations
in interface AnnotateImageResponseOrBuilder
public EntityAnnotationOrBuilder getLandmarkAnnotationsOrBuilder(int index)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation landmark_annotations = 2;
getLandmarkAnnotationsOrBuilder
in interface AnnotateImageResponseOrBuilder
public java.util.List<EntityAnnotation> getLogoAnnotationsList()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
getLogoAnnotationsList
in interface AnnotateImageResponseOrBuilder
public java.util.List<? extends EntityAnnotationOrBuilder> getLogoAnnotationsOrBuilderList()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
getLogoAnnotationsOrBuilderList
in interface AnnotateImageResponseOrBuilder
public int getLogoAnnotationsCount()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
getLogoAnnotationsCount
in interface AnnotateImageResponseOrBuilder
public EntityAnnotation getLogoAnnotations(int index)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
getLogoAnnotations
in interface AnnotateImageResponseOrBuilder
public EntityAnnotationOrBuilder getLogoAnnotationsOrBuilder(int index)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation logo_annotations = 3;
getLogoAnnotationsOrBuilder
in interface AnnotateImageResponseOrBuilder
public java.util.List<EntityAnnotation> getLabelAnnotationsList()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
getLabelAnnotationsList
in interface AnnotateImageResponseOrBuilder
public java.util.List<? extends EntityAnnotationOrBuilder> getLabelAnnotationsOrBuilderList()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
getLabelAnnotationsOrBuilderList
in interface AnnotateImageResponseOrBuilder
public int getLabelAnnotationsCount()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
getLabelAnnotationsCount
in interface AnnotateImageResponseOrBuilder
public EntityAnnotation getLabelAnnotations(int index)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
getLabelAnnotations
in interface AnnotateImageResponseOrBuilder
public EntityAnnotationOrBuilder getLabelAnnotationsOrBuilder(int index)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation label_annotations = 4;
getLabelAnnotationsOrBuilder
in interface AnnotateImageResponseOrBuilder
public java.util.List<EntityAnnotation> getTextAnnotationsList()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
getTextAnnotationsList
in interface AnnotateImageResponseOrBuilder
public java.util.List<? extends EntityAnnotationOrBuilder> getTextAnnotationsOrBuilderList()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
getTextAnnotationsOrBuilderList
in interface AnnotateImageResponseOrBuilder
public int getTextAnnotationsCount()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
getTextAnnotationsCount
in interface AnnotateImageResponseOrBuilder
public EntityAnnotation getTextAnnotations(int index)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
getTextAnnotations
in interface AnnotateImageResponseOrBuilder
public EntityAnnotationOrBuilder getTextAnnotationsOrBuilder(int index)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p1beta1.EntityAnnotation text_annotations = 5;
getTextAnnotationsOrBuilder
in interface AnnotateImageResponseOrBuilder
public boolean hasFullTextAnnotation()
If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.
.google.cloud.vision.v1p1beta1.TextAnnotation full_text_annotation = 12;
hasFullTextAnnotation
in interface AnnotateImageResponseOrBuilder
public TextAnnotation getFullTextAnnotation()
If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.
.google.cloud.vision.v1p1beta1.TextAnnotation full_text_annotation = 12;
getFullTextAnnotation
in interface AnnotateImageResponseOrBuilder
public TextAnnotationOrBuilder getFullTextAnnotationOrBuilder()
If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.
.google.cloud.vision.v1p1beta1.TextAnnotation full_text_annotation = 12;
getFullTextAnnotationOrBuilder
in interface AnnotateImageResponseOrBuilder
public boolean hasSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p1beta1.SafeSearchAnnotation safe_search_annotation = 6;
hasSafeSearchAnnotation
in interface AnnotateImageResponseOrBuilder
public SafeSearchAnnotation getSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p1beta1.SafeSearchAnnotation safe_search_annotation = 6;
getSafeSearchAnnotation
in interface AnnotateImageResponseOrBuilder
public SafeSearchAnnotationOrBuilder getSafeSearchAnnotationOrBuilder()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p1beta1.SafeSearchAnnotation safe_search_annotation = 6;
getSafeSearchAnnotationOrBuilder
in interface AnnotateImageResponseOrBuilder
public boolean hasImagePropertiesAnnotation()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p1beta1.ImageProperties image_properties_annotation = 8;
hasImagePropertiesAnnotation
in interface AnnotateImageResponseOrBuilder
public ImageProperties getImagePropertiesAnnotation()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p1beta1.ImageProperties image_properties_annotation = 8;
getImagePropertiesAnnotation
in interface AnnotateImageResponseOrBuilder
public ImagePropertiesOrBuilder getImagePropertiesAnnotationOrBuilder()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p1beta1.ImageProperties image_properties_annotation = 8;
getImagePropertiesAnnotationOrBuilder
in interface AnnotateImageResponseOrBuilder
public boolean hasCropHintsAnnotation()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p1beta1.CropHintsAnnotation crop_hints_annotation = 11;
hasCropHintsAnnotation
in interface AnnotateImageResponseOrBuilder
public CropHintsAnnotation getCropHintsAnnotation()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p1beta1.CropHintsAnnotation crop_hints_annotation = 11;
getCropHintsAnnotation
in interface AnnotateImageResponseOrBuilder
public CropHintsAnnotationOrBuilder getCropHintsAnnotationOrBuilder()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p1beta1.CropHintsAnnotation crop_hints_annotation = 11;
getCropHintsAnnotationOrBuilder
in interface AnnotateImageResponseOrBuilder
public boolean hasWebDetection()
If present, web detection has completed successfully.
.google.cloud.vision.v1p1beta1.WebDetection web_detection = 13;
hasWebDetection
in interface AnnotateImageResponseOrBuilder
public WebDetection getWebDetection()
If present, web detection has completed successfully.
.google.cloud.vision.v1p1beta1.WebDetection web_detection = 13;
getWebDetection
in interface AnnotateImageResponseOrBuilder
public WebDetectionOrBuilder getWebDetectionOrBuilder()
If present, web detection has completed successfully.
.google.cloud.vision.v1p1beta1.WebDetection web_detection = 13;
getWebDetectionOrBuilder
in interface AnnotateImageResponseOrBuilder
public boolean hasError()
If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set.
.google.rpc.Status error = 9;
hasError
in interface AnnotateImageResponseOrBuilder
public Status getError()
If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set.
.google.rpc.Status error = 9;
getError
in interface AnnotateImageResponseOrBuilder
public StatusOrBuilder getErrorOrBuilder()
If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set.
.google.rpc.Status error = 9;
getErrorOrBuilder
in interface AnnotateImageResponseOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static AnnotateImageResponse parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AnnotateImageResponse parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AnnotateImageResponse parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AnnotateImageResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AnnotateImageResponse parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AnnotateImageResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AnnotateImageResponse parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static AnnotateImageResponse parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static AnnotateImageResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static AnnotateImageResponse parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static AnnotateImageResponse parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static AnnotateImageResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public AnnotateImageResponse.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static AnnotateImageResponse.Builder newBuilder()
public static AnnotateImageResponse.Builder newBuilder(AnnotateImageResponse prototype)
public AnnotateImageResponse.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected AnnotateImageResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static AnnotateImageResponse getDefaultInstance()
public static Parser<AnnotateImageResponse> parser()
public Parser<AnnotateImageResponse> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public AnnotateImageResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder