Class UpscaleProductImageResponse.Builder (0.25.0)

public static final class UpscaleProductImageResponse.Builder extends GeneratedMessage.Builder<UpscaleProductImageResponse.Builder> implements UpscaleProductImageResponseOrBuilder

Response message for the UpscaleProductImage method.

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

Static Methods

getDescriptor()

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

Methods

build()

public UpscaleProductImageResponse build()
Returns
Type Description
UpscaleProductImageResponse

buildPartial()

public UpscaleProductImageResponse buildPartial()
Returns
Type Description
UpscaleProductImageResponse

clear()

public UpscaleProductImageResponse.Builder clear()
Returns
Type Description
UpscaleProductImageResponse.Builder
Overrides

clearGeneratedImage()

public UpscaleProductImageResponse.Builder clearGeneratedImage()

The generated output image.

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

Returns
Type Description
UpscaleProductImageResponse.Builder

getDefaultInstanceForType()

public UpscaleProductImageResponse getDefaultInstanceForType()
Returns
Type Description
UpscaleProductImageResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGeneratedImage()

public GeneratedImage getGeneratedImage()

The generated output image.

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

Returns
Type Description
GeneratedImage

The generatedImage.

getGeneratedImageBuilder()

public GeneratedImage.Builder getGeneratedImageBuilder()

The generated output image.

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

Returns
Type Description
GeneratedImage.Builder

getGeneratedImageOrBuilder()

public GeneratedImageOrBuilder getGeneratedImageOrBuilder()

The generated output image.

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

Returns
Type Description
GeneratedImageOrBuilder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpscaleProductImageResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpscaleProductImageResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpscaleProductImageResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpscaleProductImageResponse.Builder
Overrides

mergeFrom(UpscaleProductImageResponse other)

public UpscaleProductImageResponse.Builder mergeFrom(UpscaleProductImageResponse other)
Parameter
Name Description
other UpscaleProductImageResponse
Returns
Type Description
UpscaleProductImageResponse.Builder

mergeGeneratedImage(GeneratedImage value)

public UpscaleProductImageResponse.Builder mergeGeneratedImage(GeneratedImage value)

The generated output image.

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

Parameter
Name Description
value GeneratedImage
Returns
Type Description
UpscaleProductImageResponse.Builder

setGeneratedImage(GeneratedImage value)

public UpscaleProductImageResponse.Builder setGeneratedImage(GeneratedImage value)

The generated output image.

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

Parameter
Name Description
value GeneratedImage
Returns
Type Description
UpscaleProductImageResponse.Builder

setGeneratedImage(GeneratedImage.Builder builderForValue)

public UpscaleProductImageResponse.Builder setGeneratedImage(GeneratedImage.Builder builderForValue)

The generated output image.

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

Parameter
Name Description
builderForValue GeneratedImage.Builder
Returns
Type Description
UpscaleProductImageResponse.Builder