public static final class RemoveProductImageBackgroundRequest.Builder extends GeneratedMessageV3.Builder<RemoveProductImageBackgroundRequest.Builder> implements RemoveProductImageBackgroundRequestOrBuilderRequest message for the RemoveProductImageBackground method.
Protobuf type
google.shopping.merchant.productstudio.v1alpha.RemoveProductImageBackgroundRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RemoveProductImageBackgroundRequest.BuilderImplements
RemoveProductImageBackgroundRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RemoveProductImageBackgroundRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
RemoveProductImageBackgroundRequest.Builder |
|
build()
public RemoveProductImageBackgroundRequest build()| Returns | |
|---|---|
| Type | Description |
RemoveProductImageBackgroundRequest |
|
buildPartial()
public RemoveProductImageBackgroundRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
RemoveProductImageBackgroundRequest |
|
clear()
public RemoveProductImageBackgroundRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
RemoveProductImageBackgroundRequest.Builder |
|
clearConfig()
public RemoveProductImageBackgroundRequest.Builder clearConfig()Optional. Configuration parameters for the removal of the background.
.google.shopping.merchant.productstudio.v1alpha.RemoveImageBackgroundConfig config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RemoveProductImageBackgroundRequest.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public RemoveProductImageBackgroundRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
RemoveProductImageBackgroundRequest.Builder |
|
clearInputImage()
public RemoveProductImageBackgroundRequest.Builder clearInputImage()Required. The input image.
.google.shopping.merchant.productstudio.v1alpha.InputImage input_image = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RemoveProductImageBackgroundRequest.Builder |
|
clearName()
public RemoveProductImageBackgroundRequest.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 |
RemoveProductImageBackgroundRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RemoveProductImageBackgroundRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
RemoveProductImageBackgroundRequest.Builder |
|
clearOutputConfig()
public RemoveProductImageBackgroundRequest.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 |
RemoveProductImageBackgroundRequest.Builder |
|
clone()
public RemoveProductImageBackgroundRequest.Builder clone()| Returns | |
|---|---|
| Type | Description |
RemoveProductImageBackgroundRequest.Builder |
|
getConfig()
public RemoveImageBackgroundConfig getConfig()Optional. Configuration parameters for the removal of the background.
.google.shopping.merchant.productstudio.v1alpha.RemoveImageBackgroundConfig config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RemoveImageBackgroundConfig |
The config. |
getConfigBuilder()
public RemoveImageBackgroundConfig.Builder getConfigBuilder()Optional. Configuration parameters for the removal of the background.
.google.shopping.merchant.productstudio.v1alpha.RemoveImageBackgroundConfig config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RemoveImageBackgroundConfig.Builder |
|
getConfigOrBuilder()
public RemoveImageBackgroundConfigOrBuilder getConfigOrBuilder()Optional. Configuration parameters for the removal of the background.
.google.shopping.merchant.productstudio.v1alpha.RemoveImageBackgroundConfig config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RemoveImageBackgroundConfigOrBuilder |
|
getDefaultInstanceForType()
public RemoveProductImageBackgroundRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RemoveProductImageBackgroundRequest |
|
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 |
|
hasConfig()
public boolean hasConfig()Optional. Configuration parameters for the removal of the background.
.google.shopping.merchant.productstudio.v1alpha.RemoveImageBackgroundConfig config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the config field is set. |
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeConfig(RemoveImageBackgroundConfig value)
public RemoveProductImageBackgroundRequest.Builder mergeConfig(RemoveImageBackgroundConfig value)Optional. Configuration parameters for the removal of the background.
.google.shopping.merchant.productstudio.v1alpha.RemoveImageBackgroundConfig config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
RemoveImageBackgroundConfig |
| Returns | |
|---|---|
| Type | Description |
RemoveProductImageBackgroundRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RemoveProductImageBackgroundRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RemoveProductImageBackgroundRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RemoveProductImageBackgroundRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RemoveProductImageBackgroundRequest.Builder |
|
mergeFrom(RemoveProductImageBackgroundRequest other)
public RemoveProductImageBackgroundRequest.Builder mergeFrom(RemoveProductImageBackgroundRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
RemoveProductImageBackgroundRequest |
| Returns | |
|---|---|
| Type | Description |
RemoveProductImageBackgroundRequest.Builder |
|
mergeInputImage(InputImage value)
public RemoveProductImageBackgroundRequest.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 |
RemoveProductImageBackgroundRequest.Builder |
|
mergeOutputConfig(OutputImageConfig value)
public RemoveProductImageBackgroundRequest.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 |
RemoveProductImageBackgroundRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RemoveProductImageBackgroundRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
RemoveProductImageBackgroundRequest.Builder |
|
setConfig(RemoveImageBackgroundConfig value)
public RemoveProductImageBackgroundRequest.Builder setConfig(RemoveImageBackgroundConfig value)Optional. Configuration parameters for the removal of the background.
.google.shopping.merchant.productstudio.v1alpha.RemoveImageBackgroundConfig config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
RemoveImageBackgroundConfig |
| Returns | |
|---|---|
| Type | Description |
RemoveProductImageBackgroundRequest.Builder |
|
setConfig(RemoveImageBackgroundConfig.Builder builderForValue)
public RemoveProductImageBackgroundRequest.Builder setConfig(RemoveImageBackgroundConfig.Builder builderForValue)Optional. Configuration parameters for the removal of the background.
.google.shopping.merchant.productstudio.v1alpha.RemoveImageBackgroundConfig config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RemoveImageBackgroundConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
RemoveProductImageBackgroundRequest.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public RemoveProductImageBackgroundRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
RemoveProductImageBackgroundRequest.Builder |
|
setInputImage(InputImage value)
public RemoveProductImageBackgroundRequest.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 |
RemoveProductImageBackgroundRequest.Builder |
|
setInputImage(InputImage.Builder builderForValue)
public RemoveProductImageBackgroundRequest.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 |
RemoveProductImageBackgroundRequest.Builder |
|
setName(String value)
public RemoveProductImageBackgroundRequest.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 |
RemoveProductImageBackgroundRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public RemoveProductImageBackgroundRequest.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 |
RemoveProductImageBackgroundRequest.Builder |
This builder for chaining. |
setOutputConfig(OutputImageConfig value)
public RemoveProductImageBackgroundRequest.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 |
RemoveProductImageBackgroundRequest.Builder |
|
setOutputConfig(OutputImageConfig.Builder builderForValue)
public RemoveProductImageBackgroundRequest.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 |
RemoveProductImageBackgroundRequest.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RemoveProductImageBackgroundRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
RemoveProductImageBackgroundRequest.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final RemoveProductImageBackgroundRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
RemoveProductImageBackgroundRequest.Builder |
|