public static final class GenerateImageBackgroundConfig.Builder extends GeneratedMessage.Builder<GenerateImageBackgroundConfig.Builder> implements GenerateImageBackgroundConfigOrBuilderClient provided input configuration for generating the background.
Protobuf type
google.shopping.merchant.productstudio.v1alpha.GenerateImageBackgroundConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GenerateImageBackgroundConfig.BuilderImplements
GenerateImageBackgroundConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GenerateImageBackgroundConfig build()| Returns | |
|---|---|
| Type | Description |
GenerateImageBackgroundConfig |
|
buildPartial()
public GenerateImageBackgroundConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
GenerateImageBackgroundConfig |
|
clear()
public GenerateImageBackgroundConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
GenerateImageBackgroundConfig.Builder |
|
clearBackgroundDescription()
public GenerateImageBackgroundConfig.Builder clearBackgroundDescription()Required. Example: "Hat on a baseball field" "on a baseball field" = background description Description of wanted background.
string background_description = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GenerateImageBackgroundConfig.Builder |
This builder for chaining. |
clearProductDescription()
public GenerateImageBackgroundConfig.Builder clearProductDescription()Required. Example: "Hat on a baseball field" "Hat" = product description Description of product.
string product_description = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GenerateImageBackgroundConfig.Builder |
This builder for chaining. |
getBackgroundDescription()
public String getBackgroundDescription()Required. Example: "Hat on a baseball field" "on a baseball field" = background description Description of wanted background.
string background_description = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The backgroundDescription. |
getBackgroundDescriptionBytes()
public ByteString getBackgroundDescriptionBytes()Required. Example: "Hat on a baseball field" "on a baseball field" = background description Description of wanted background.
string background_description = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for backgroundDescription. |
getDefaultInstanceForType()
public GenerateImageBackgroundConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GenerateImageBackgroundConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getProductDescription()
public String getProductDescription()Required. Example: "Hat on a baseball field" "Hat" = product description Description of product.
string product_description = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The productDescription. |
getProductDescriptionBytes()
public ByteString getProductDescriptionBytes()Required. Example: "Hat on a baseball field" "Hat" = product description Description of product.
string product_description = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for productDescription. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerateImageBackgroundConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateImageBackgroundConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GenerateImageBackgroundConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GenerateImageBackgroundConfig.Builder |
|
mergeFrom(GenerateImageBackgroundConfig other)
public GenerateImageBackgroundConfig.Builder mergeFrom(GenerateImageBackgroundConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
GenerateImageBackgroundConfig |
| Returns | |
|---|---|
| Type | Description |
GenerateImageBackgroundConfig.Builder |
|
setBackgroundDescription(String value)
public GenerateImageBackgroundConfig.Builder setBackgroundDescription(String value)Required. Example: "Hat on a baseball field" "on a baseball field" = background description Description of wanted background.
string background_description = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe backgroundDescription to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateImageBackgroundConfig.Builder |
This builder for chaining. |
setBackgroundDescriptionBytes(ByteString value)
public GenerateImageBackgroundConfig.Builder setBackgroundDescriptionBytes(ByteString value)Required. Example: "Hat on a baseball field" "on a baseball field" = background description Description of wanted background.
string background_description = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for backgroundDescription to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateImageBackgroundConfig.Builder |
This builder for chaining. |
setProductDescription(String value)
public GenerateImageBackgroundConfig.Builder setProductDescription(String value)Required. Example: "Hat on a baseball field" "Hat" = product description Description of product.
string product_description = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe productDescription to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateImageBackgroundConfig.Builder |
This builder for chaining. |
setProductDescriptionBytes(ByteString value)
public GenerateImageBackgroundConfig.Builder setProductDescriptionBytes(ByteString value)Required. Example: "Hat on a baseball field" "Hat" = product description Description of product.
string product_description = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for productDescription to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateImageBackgroundConfig.Builder |
This builder for chaining. |