public static final class ImageSource.Builder extends GeneratedMessageV3.Builder<ImageSource.Builder> implements ImageSourceOrBuilder
External image source (Google Cloud Storage or web URL image location).
Protobuf type google.cloud.vision.v1.ImageSource
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ImageSource.BuilderImplements
ImageSourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImageSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ImageSource.Builder |
build()
public ImageSource build()
Type | Description |
ImageSource |
buildPartial()
public ImageSource buildPartial()
Type | Description |
ImageSource |
clear()
public ImageSource.Builder clear()
Type | Description |
ImageSource.Builder |
clearField(Descriptors.FieldDescriptor field)
public ImageSource.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ImageSource.Builder |
clearGcsImageUri()
public ImageSource.Builder clearGcsImageUri()
Use image_uri
instead.
The Google Cloud Storage URI of the form
gs://bucket_name/object_name
. Object versioning is not supported. See
Google Cloud Storage Request
URIs for more info.
string gcs_image_uri = 1;
Type | Description |
ImageSource.Builder | This builder for chaining. |
clearImageUri()
public ImageSource.Builder clearImageUri()
The URI of the source image. Can be either:
- A Google Cloud Storage URI of the form
gs://bucket_name/object_name
. Object versioning is not supported. See Google