public static final class UpscaleProductImageRequest.Builder extends GeneratedMessageV3.Builder<UpscaleProductImageRequest.Builder> implements UpscaleProductImageRequestOrBuilder
Request message for the UpscaleProductImage method.
Protobuf type google.shopping.merchant.productstudio.v1alpha.UpscaleProductImageRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public UpscaleProductImageRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpscaleProductImageRequest build()
public UpscaleProductImageRequest buildPartial()
public UpscaleProductImageRequest.Builder clear()
Overrides
public UpscaleProductImageRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public UpscaleProductImageRequest.Builder clearInputImage()
Required. The input image.
.google.shopping.merchant.productstudio.v1alpha.InputImage input_image = 3 [(.google.api.field_behavior) = REQUIRED];
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];
public UpscaleProductImageRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
public UpscaleProductImageRequest.Builder clone()
Overrides
public UpscaleProductImageRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
public InputImage.Builder getInputImageBuilder()
Required. The input image.
.google.shopping.merchant.productstudio.v1alpha.InputImage input_image = 3 [(.google.api.field_behavior) = REQUIRED];
public InputImageOrBuilder getInputImageOrBuilder()
Required. The input image.
.google.shopping.merchant.productstudio.v1alpha.InputImage input_image = 3 [(.google.api.field_behavior) = REQUIRED];
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.
|
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.
|
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];
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];
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];
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public UpscaleProductImageRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public UpscaleProductImageRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public UpscaleProductImageRequest.Builder mergeFrom(UpscaleProductImageRequest other)
public UpscaleProductImageRequest.Builder mergeInputImage(InputImage value)
Required. The input image.
.google.shopping.merchant.productstudio.v1alpha.InputImage input_image = 3 [(.google.api.field_behavior) = REQUIRED];
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];
public final UpscaleProductImageRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public UpscaleProductImageRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpscaleProductImageRequest.Builder setInputImage(InputImage value)
Required. The input image.
.google.shopping.merchant.productstudio.v1alpha.InputImage input_image = 3 [(.google.api.field_behavior) = REQUIRED];
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];
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 |
String
The name to set.
|
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 |
ByteString
The bytes for name to set.
|
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];
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];
public UpscaleProductImageRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final UpscaleProductImageRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides