Class GenerateProductImageBackgroundResponse (0.10.0)

public final class GenerateProductImageBackgroundResponse extends GeneratedMessageV3 implements GenerateProductImageBackgroundResponseOrBuilder

Response message for the GenerateProductImageBackground method.

Protobuf type google.shopping.merchant.productstudio.v1alpha.GenerateProductImageBackgroundResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GenerateProductImageBackgroundResponse

Static Fields

GENERATED_IMAGE_FIELD_NUMBER

public static final int GENERATED_IMAGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GenerateProductImageBackgroundResponse getDefaultInstance()
Returns
Type Description
GenerateProductImageBackgroundResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GenerateProductImageBackgroundResponse.Builder newBuilder()
Returns
Type Description
GenerateProductImageBackgroundResponse.Builder

newBuilder(GenerateProductImageBackgroundResponse prototype)

public static GenerateProductImageBackgroundResponse.Builder newBuilder(GenerateProductImageBackgroundResponse prototype)
Parameter
Name Description
prototype GenerateProductImageBackgroundResponse
Returns
Type Description
GenerateProductImageBackgroundResponse.Builder

parseDelimitedFrom(InputStream input)

public static GenerateProductImageBackgroundResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GenerateProductImageBackgroundResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateProductImageBackgroundResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateProductImageBackgroundResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GenerateProductImageBackgroundResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GenerateProductImageBackgroundResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GenerateProductImageBackgroundResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateProductImageBackgroundResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GenerateProductImageBackgroundResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GenerateProductImageBackgroundResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GenerateProductImageBackgroundResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateProductImageBackgroundResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GenerateProductImageBackgroundResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GenerateProductImageBackgroundResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateProductImageBackgroundResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateProductImageBackgroundResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GenerateProductImageBackgroundResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GenerateProductImageBackgroundResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateProductImageBackgroundResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateProductImageBackgroundResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GenerateProductImageBackgroundResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GenerateProductImageBackgroundResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GenerateProductImageBackgroundResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateProductImageBackgroundResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GenerateProductImageBackgroundResponse> parser()
Returns
Type Description
Parser<GenerateProductImageBackgroundResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GenerateProductImageBackgroundResponse getDefaultInstanceForType()
Returns
Type Description
GenerateProductImageBackgroundResponse

getGeneratedImage()

public GeneratedImage getGeneratedImage()

The generated output image.

.google.shopping.merchant.productstudio.v1alpha.GeneratedImage generated_image = 1;

Returns
Type Description
GeneratedImage

The generatedImage.

getGeneratedImageOrBuilder()

public GeneratedImageOrBuilder getGeneratedImageOrBuilder()

The generated output image.

.google.shopping.merchant.productstudio.v1alpha.GeneratedImage generated_image = 1;

Returns
Type Description
GeneratedImageOrBuilder

getParserForType()

public Parser<GenerateProductImageBackgroundResponse> getParserForType()
Returns
Type Description
Parser<GenerateProductImageBackgroundResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasGeneratedImage()

public boolean hasGeneratedImage()

The generated output image.

.google.shopping.merchant.productstudio.v1alpha.GeneratedImage generated_image = 1;

Returns
Type Description
boolean

Whether the generatedImage field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GenerateProductImageBackgroundResponse.Builder newBuilderForType()
Returns
Type Description
GenerateProductImageBackgroundResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GenerateProductImageBackgroundResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GenerateProductImageBackgroundResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GenerateProductImageBackgroundResponse.Builder toBuilder()
Returns
Type Description
GenerateProductImageBackgroundResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException