- 0.196.0 (latest)
- 0.195.0
- 0.194.0
- 0.193.0
- 0.192.0
- 0.190.0
- 0.188.0
- 0.187.0
- 0.184.0
- 0.183.0
- 0.182.0
- 0.180.0
- 0.179.0
- 0.178.0
- 0.177.0
- 0.176.0
- 0.175.0
- 0.174.0
- 0.173.0
- 0.172.0
- 0.171.0
- 0.169.0
- 0.168.0
- 0.167.0
- 0.166.0
- 0.165.0
- 0.164.0
- 0.163.0
- 0.162.0
- 0.161.0
- 0.160.0
- 0.159.0
- 0.157.0
- 0.156.0
- 0.155.0
- 0.154.0
- 0.153.0
- 0.152.0
- 0.151.0
- 0.150.0
- 0.149.0
- 0.148.0
- 0.147.0
- 0.144.0
- 0.143.0
- 0.142.0
- 0.141.0
- 0.140.0
- 0.139.0
- 0.138.0
- 0.137.0
- 0.136.0
- 0.135.0
- 0.134.0
- 0.133.0
- 0.132.0
- 0.131.0
- 0.129.0
- 0.128.0
- 0.127.0
- 0.126.0
- 0.125.0
- 0.124.0
- 0.123.7
- 0.122.11
public static final class ImagePayload.Builder extends GeneratedMessageV3.Builder<ImagePayload.Builder> implements ImagePayloadOrBuilderContainer of information about an image.
Protobuf type google.cloud.datalabeling.v1beta1.ImagePayload
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ImagePayload.BuilderImplements
ImagePayloadOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImagePayload.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ImagePayload.Builder |
|
build()
public ImagePayload build()| Returns | |
|---|---|
| Type | Description |
ImagePayload |
|
buildPartial()
public ImagePayload buildPartial()| Returns | |
|---|---|
| Type | Description |
ImagePayload |
|
clear()
public ImagePayload.Builder clear()| Returns | |
|---|---|
| Type | Description |
ImagePayload.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public ImagePayload.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ImagePayload.Builder |
|
clearImageThumbnail()
public ImagePayload.Builder clearImageThumbnail()A byte string of a thumbnail image.
bytes image_thumbnail = 2;
| Returns | |
|---|---|
| Type | Description |
ImagePayload.Builder |
This builder for chaining. |
clearImageUri()
public ImagePayload.Builder clearImageUri()Image uri from the user bucket.
string image_uri = 3;
| Returns | |
|---|---|
| Type | Description |
ImagePayload.Builder |
This builder for chaining. |
clearMimeType()
public ImagePayload.Builder clearMimeType()Image format.
string mime_type = 1;
| Returns | |
|---|---|
| Type | Description |
ImagePayload.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ImagePayload.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ImagePayload.Builder |
|
clearSignedUri()
public ImagePayload.Builder clearSignedUri()Signed uri of the image file in the service bucket.
string signed_uri = 4;
| Returns | |
|---|---|
| Type | Description |
ImagePayload.Builder |
This builder for chaining. |
clone()
public ImagePayload.Builder clone()| Returns | |
|---|---|
| Type | Description |
ImagePayload.Builder |
|
getDefaultInstanceForType()
public ImagePayload getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ImagePayload |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getImageThumbnail()
public ByteString getImageThumbnail()A byte string of a thumbnail image.
bytes image_thumbnail = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The imageThumbnail. |
getImageUri()
public String getImageUri()Image uri from the user bucket.
string image_uri = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The imageUri. |
getImageUriBytes()
public ByteString getImageUriBytes()Image uri from the user bucket.
string image_uri = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for imageUri. |
getMimeType()
public String getMimeType()Image format.
string mime_type = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The mimeType. |
getMimeTypeBytes()
public ByteString getMimeTypeBytes()Image format.
string mime_type = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for mimeType. |
getSignedUri()
public String getSignedUri()Signed uri of the image file in the service bucket.
string signed_uri = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The signedUri. |
getSignedUriBytes()
public ByteString getSignedUriBytes()Signed uri of the image file in the service bucket.
string signed_uri = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for signedUri. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ImagePayload other)
public ImagePayload.Builder mergeFrom(ImagePayload other)| Parameter | |
|---|---|
| Name | Description |
other |
ImagePayload |
| Returns | |
|---|---|
| Type | Description |
ImagePayload.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImagePayload.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ImagePayload.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ImagePayload.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ImagePayload.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImagePayload.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ImagePayload.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public ImagePayload.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ImagePayload.Builder |
|
setImageThumbnail(ByteString value)
public ImagePayload.Builder setImageThumbnail(ByteString value)A byte string of a thumbnail image.
bytes image_thumbnail = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe imageThumbnail to set. |
| Returns | |
|---|---|
| Type | Description |
ImagePayload.Builder |
This builder for chaining. |
setImageUri(String value)
public ImagePayload.Builder setImageUri(String value)Image uri from the user bucket.
string image_uri = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe imageUri to set. |
| Returns | |
|---|---|
| Type | Description |
ImagePayload.Builder |
This builder for chaining. |
setImageUriBytes(ByteString value)
public ImagePayload.Builder setImageUriBytes(ByteString value)Image uri from the user bucket.
string image_uri = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for imageUri to set. |
| Returns | |
|---|---|
| Type | Description |
ImagePayload.Builder |
This builder for chaining. |
setMimeType(String value)
public ImagePayload.Builder setMimeType(String value)Image format.
string mime_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe mimeType to set. |
| Returns | |
|---|---|
| Type | Description |
ImagePayload.Builder |
This builder for chaining. |
setMimeTypeBytes(ByteString value)
public ImagePayload.Builder setMimeTypeBytes(ByteString value)Image format.
string mime_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for mimeType to set. |
| Returns | |
|---|---|
| Type | Description |
ImagePayload.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImagePayload.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ImagePayload.Builder |
|
setSignedUri(String value)
public ImagePayload.Builder setSignedUri(String value)Signed uri of the image file in the service bucket.
string signed_uri = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe signedUri to set. |
| Returns | |
|---|---|
| Type | Description |
ImagePayload.Builder |
This builder for chaining. |
setSignedUriBytes(ByteString value)
public ImagePayload.Builder setSignedUriBytes(ByteString value)Signed uri of the image file in the service bucket.
string signed_uri = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for signedUri to set. |
| Returns | |
|---|---|
| Type | Description |
ImagePayload.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ImagePayload.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ImagePayload.Builder |
|