public static final class UpscaleProductImageRequest.Builder extends GeneratedMessage.Builder<UpscaleProductImageRequest.Builder> implements UpscaleProductImageRequestOrBuilderRequest message for the UpscaleProductImage method.
Protobuf type google.shopping.merchant.productstudio.v1alpha.UpscaleProductImageRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpscaleProductImageRequest.BuilderImplements
UpscaleProductImageRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpscaleProductImageRequest build()| Returns | |
|---|---|
| Type | Description |
UpscaleProductImageRequest |
|
buildPartial()
public UpscaleProductImageRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpscaleProductImageRequest |
|
clear()
public UpscaleProductImageRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpscaleProductImageRequest.Builder |
|
clearInputImage()
public UpscaleProductImageRequest.Builder clearInputImage()Required. The input image.
.google.shopping.merchant.productstudio.v1alpha.InputImage input_image = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpscaleProductImageRequest.Builder |
|
clearName()
public UpscaleProductImageRequest.Builder clearName()Required. The account for which to generate an image. This acts as a container for the request and does not affect the generation itself. Format: accounts/{account}
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpscaleProductImageRequest.Builder |
This builder for chaining. |
clearOutputConfig()
public UpscaleProductImageRequest.Builder clearOutputConfig()Optional. Configuration for how the output image should be returned.
.google.shopping.merchant.productstudio.v1alpha.OutputImageConfig output_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UpscaleProductImageRequest.Builder |
|
getDefaultInstanceForType()
public UpscaleProductImageRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpscaleProductImageRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInputImage()
public InputImage getInputImage()Required. The input image.
.google.shopping.merchant.productstudio.v1alpha.InputImage input_image = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
InputImage |
The inputImage. |
getInputImageBuilder()
public InputImage.Builder getInputImageBuilder()Required. The input image.
.google.shopping.merchant.productstudio.v1alpha.InputImage input_image = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
InputImage.Builder |
|
getInputImageOrBuilder()
public InputImageOrBuilder getInputImageOrBuilder()Required. The input image.
.google.shopping.merchant.productstudio.v1alpha.InputImage input_image = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
InputImageOrBuilder |
|
getName()
public String getName()Required. The account for which to generate an image. This acts as a container for the request and does not affect the generation itself. Format: accounts/{account}
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The account for which to generate an image. This acts as a container for the request and does not affect the generation itself. Format: accounts/{account}
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getOutputConfig()
public OutputImageConfig getOutputConfig()Optional. Configuration for how the output image should be returned.
.google.shopping.merchant.productstudio.v1alpha.OutputImageConfig output_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
OutputImageConfig |
The outputConfig. |
getOutputConfigBuilder()
public OutputImageConfig.Builder getOutputConfigBuilder()Optional. Configuration for how the output image should be returned.
.google.shopping.merchant.productstudio.v1alpha.OutputImageConfig output_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
OutputImageConfig.Builder |
|
getOutputConfigOrBuilder()
public OutputImageConfigOrBuilder getOutputConfigOrBuilder()Optional. Configuration for how the output image should be returned.
.google.shopping.merchant.productstudio.v1alpha.OutputImageConfig output_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
OutputImageConfigOrBuilder |
|
hasInputImage()
public boolean hasInputImage()Required. The input image.
.google.shopping.merchant.productstudio.v1alpha.InputImage input_image = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the inputImage field is set. |
hasOutputConfig()
public boolean hasOutputConfig()Optional. Configuration for how the output image should be returned.
.google.shopping.merchant.productstudio.v1alpha.OutputImageConfig output_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the outputConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpscaleProductImageRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpscaleProductImageRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpscaleProductImageRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpscaleProductImageRequest.Builder |
|
mergeFrom(UpscaleProductImageRequest other)
public UpscaleProductImageRequest.Builder mergeFrom(UpscaleProductImageRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpscaleProductImageRequest |
| Returns | |
|---|---|
| Type | Description |
UpscaleProductImageRequest.Builder |
|
mergeInputImage(InputImage value)
public UpscaleProductImageRequest.Builder mergeInputImage(InputImage value)Required. The input image.
.google.shopping.merchant.productstudio.v1alpha.InputImage input_image = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
InputImage |
| Returns | |
|---|---|
| Type | Description |
UpscaleProductImageRequest.Builder |
|
mergeOutputConfig(OutputImageConfig value)
public UpscaleProductImageRequest.Builder mergeOutputConfig(OutputImageConfig value)Optional. Configuration for how the output image should be returned.
.google.shopping.merchant.productstudio.v1alpha.OutputImageConfig output_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
OutputImageConfig |
| Returns | |
|---|---|
| Type | Description |
UpscaleProductImageRequest.Builder |
|
setInputImage(InputImage value)
public UpscaleProductImageRequest.Builder setInputImage(InputImage value)Required. The input image.
.google.shopping.merchant.productstudio.v1alpha.InputImage input_image = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
InputImage |
| Returns | |
|---|---|
| Type | Description |
UpscaleProductImageRequest.Builder |
|
setInputImage(InputImage.Builder builderForValue)
public UpscaleProductImageRequest.Builder setInputImage(InputImage.Builder builderForValue)Required. The input image.
.google.shopping.merchant.productstudio.v1alpha.InputImage input_image = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
InputImage.Builder |
| Returns | |
|---|---|
| Type | Description |
UpscaleProductImageRequest.Builder |
|
setName(String value)
public UpscaleProductImageRequest.Builder setName(String value)Required. The account for which to generate an image. This acts as a container for the request and does not affect the generation itself. Format: accounts/{account}
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
UpscaleProductImageRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public UpscaleProductImageRequest.Builder setNameBytes(ByteString value)Required. The account for which to generate an image. This acts as a container for the request and does not affect the generation itself. Format: accounts/{account}
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
UpscaleProductImageRequest.Builder |
This builder for chaining. |
setOutputConfig(OutputImageConfig value)
public UpscaleProductImageRequest.Builder setOutputConfig(OutputImageConfig value)Optional. Configuration for how the output image should be returned.
.google.shopping.merchant.productstudio.v1alpha.OutputImageConfig output_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
OutputImageConfig |
| Returns | |
|---|---|
| Type | Description |
UpscaleProductImageRequest.Builder |
|
setOutputConfig(OutputImageConfig.Builder builderForValue)
public UpscaleProductImageRequest.Builder setOutputConfig(OutputImageConfig.Builder builderForValue)Optional. Configuration for how the output image should be returned.
.google.shopping.merchant.productstudio.v1alpha.OutputImageConfig output_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
OutputImageConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
UpscaleProductImageRequest.Builder |
|