public final class InputImage extends GeneratedMessage implements InputImageOrBuilderRepresents an input image.
Protobuf type google.shopping.merchant.productstudio.v1alpha.InputImage
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > InputImageImplements
InputImageOrBuilderStatic Fields
IMAGE_BYTES_FIELD_NUMBER
public static final int IMAGE_BYTES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
IMAGE_URI_FIELD_NUMBER
public static final int IMAGE_URI_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static InputImage getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
InputImage |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static InputImage.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
InputImage.Builder |
|
newBuilder(InputImage prototype)
public static InputImage.Builder newBuilder(InputImage prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
InputImage |
| Returns | |
|---|---|
| Type | Description |
InputImage.Builder |
|
parseDelimitedFrom(InputStream input)
public static InputImage parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
InputImage |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static InputImage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InputImage |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static InputImage parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
InputImage |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InputImage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InputImage |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static InputImage parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
InputImage |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InputImage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InputImage |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static InputImage parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
InputImage |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static InputImage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InputImage |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static InputImage parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
InputImage |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static InputImage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InputImage |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static InputImage parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
InputImage |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InputImage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InputImage |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<InputImage> parser()| Returns | |
|---|---|
| Type | Description |
Parser<InputImage> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public InputImage getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
InputImage |
|
getImageBytes()
public ByteString getImageBytes()Raw image bytes.
bytes image_bytes = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The imageBytes. |
getImageCase()
public InputImage.ImageCase getImageCase()| Returns | |
|---|---|
| Type | Description |
InputImage.ImageCase |
|
getImageUri()
public String getImageUri()Public uri of the image.
string image_uri = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The imageUri. |
getImageUriBytes()
public ByteString getImageUriBytes()Public uri of the image.
string image_uri = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for imageUri. |
getParserForType()
public Parser<InputImage> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<InputImage> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasImageBytes()
public boolean hasImageBytes()Raw image bytes.
bytes image_bytes = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the imageBytes field is set. |
hasImageUri()
public boolean hasImageUri()Public uri of the image.
string image_uri = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the imageUri field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public InputImage.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
InputImage.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected InputImage.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
InputImage.Builder |
|
toBuilder()
public InputImage.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
InputImage.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|