public static final class ProductInputConfig.Builder extends GeneratedMessage.Builder<ProductInputConfig.Builder> implements ProductInputConfigOrBuilderThe input config source for products.
Protobuf type google.cloud.retail.v2.ProductInputConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ProductInputConfig.BuilderImplements
ProductInputConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ProductInputConfig build()| Returns | |
|---|---|
| Type | Description |
ProductInputConfig |
|
buildPartial()
public ProductInputConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
ProductInputConfig |
|
clear()
public ProductInputConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
ProductInputConfig.Builder |
|
clearBigQuerySource()
public ProductInputConfig.Builder clearBigQuerySource()BigQuery input source.
.google.cloud.retail.v2.BigQuerySource big_query_source = 3;
| Returns | |
|---|---|
| Type | Description |
ProductInputConfig.Builder |
|
clearGcsSource()
public ProductInputConfig.Builder clearGcsSource()Google Cloud Storage location for the input content.
.google.cloud.retail.v2.GcsSource gcs_source = 2;
| Returns | |
|---|---|
| Type | Description |
ProductInputConfig.Builder |
|
clearProductInlineSource()
public ProductInputConfig.Builder clearProductInlineSource()The Inline source for the input content for products.
.google.cloud.retail.v2.ProductInlineSource product_inline_source = 1;
| Returns | |
|---|---|
| Type | Description |
ProductInputConfig.Builder |
|
clearSource()
public ProductInputConfig.Builder clearSource()| Returns | |
|---|---|
| Type | Description |
ProductInputConfig.Builder |
|
getBigQuerySource()
public BigQuerySource getBigQuerySource()BigQuery input source.
.google.cloud.retail.v2.BigQuerySource big_query_source = 3;
| Returns | |
|---|---|
| Type | Description |
BigQuerySource |
The bigQuerySource. |
getBigQuerySourceBuilder()
public BigQuerySource.Builder getBigQuerySourceBuilder()BigQuery input source.
.google.cloud.retail.v2.BigQuerySource big_query_source = 3;
| Returns | |
|---|---|
| Type | Description |
BigQuerySource.Builder |
|
getBigQuerySourceOrBuilder()
public BigQuerySourceOrBuilder getBigQuerySourceOrBuilder()BigQuery input source.
.google.cloud.retail.v2.BigQuerySource big_query_source = 3;
| Returns | |
|---|---|
| Type | Description |
BigQuerySourceOrBuilder |
|
getDefaultInstanceForType()
public ProductInputConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ProductInputConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGcsSource()
public GcsSource getGcsSource()Google Cloud Storage location for the input content.
.google.cloud.retail.v2.GcsSource gcs_source = 2;
| Returns | |
|---|---|
| Type | Description |
GcsSource |
The gcsSource. |
getGcsSourceBuilder()
public GcsSource.Builder getGcsSourceBuilder()Google Cloud Storage location for the input content.
.google.cloud.retail.v2.GcsSource gcs_source = 2;
| Returns | |
|---|---|
| Type | Description |
GcsSource.Builder |
|
getGcsSourceOrBuilder()
public GcsSourceOrBuilder getGcsSourceOrBuilder()Google Cloud Storage location for the input content.
.google.cloud.retail.v2.GcsSource gcs_source = 2;
| Returns | |
|---|---|
| Type | Description |
GcsSourceOrBuilder |
|
getProductInlineSource()
public ProductInlineSource getProductInlineSource()The Inline source for the input content for products.
.google.cloud.retail.v2.ProductInlineSource product_inline_source = 1;
| Returns | |
|---|---|
| Type | Description |
ProductInlineSource |
The productInlineSource. |
getProductInlineSourceBuilder()
public ProductInlineSource.Builder getProductInlineSourceBuilder()The Inline source for the input content for products.
.google.cloud.retail.v2.ProductInlineSource product_inline_source = 1;
| Returns | |
|---|---|
| Type | Description |
ProductInlineSource.Builder |
|
getProductInlineSourceOrBuilder()
public ProductInlineSourceOrBuilder getProductInlineSourceOrBuilder()The Inline source for the input content for products.
.google.cloud.retail.v2.ProductInlineSource product_inline_source = 1;
| Returns | |
|---|---|
| Type | Description |
ProductInlineSourceOrBuilder |
|
getSourceCase()
public ProductInputConfig.SourceCase getSourceCase()| Returns | |
|---|---|
| Type | Description |
ProductInputConfig.SourceCase |
|
hasBigQuerySource()
public boolean hasBigQuerySource()BigQuery input source.
.google.cloud.retail.v2.BigQuerySource big_query_source = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the bigQuerySource field is set. |
hasGcsSource()
public boolean hasGcsSource()Google Cloud Storage location for the input content.
.google.cloud.retail.v2.GcsSource gcs_source = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gcsSource field is set. |
hasProductInlineSource()
public boolean hasProductInlineSource()The Inline source for the input content for products.
.google.cloud.retail.v2.ProductInlineSource product_inline_source = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the productInlineSource field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeBigQuerySource(BigQuerySource value)
public ProductInputConfig.Builder mergeBigQuerySource(BigQuerySource value)BigQuery input source.
.google.cloud.retail.v2.BigQuerySource big_query_source = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
BigQuerySource |
| Returns | |
|---|---|
| Type | Description |
ProductInputConfig.Builder |
|
mergeFrom(ProductInputConfig other)
public ProductInputConfig.Builder mergeFrom(ProductInputConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
ProductInputConfig |
| Returns | |
|---|---|
| Type | Description |
ProductInputConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProductInputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProductInputConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ProductInputConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ProductInputConfig.Builder |
|
mergeGcsSource(GcsSource value)
public ProductInputConfig.Builder mergeGcsSource(GcsSource value)Google Cloud Storage location for the input content.
.google.cloud.retail.v2.GcsSource gcs_source = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
GcsSource |
| Returns | |
|---|---|
| Type | Description |
ProductInputConfig.Builder |
|
mergeProductInlineSource(ProductInlineSource value)
public ProductInputConfig.Builder mergeProductInlineSource(ProductInlineSource value)The Inline source for the input content for products.
.google.cloud.retail.v2.ProductInlineSource product_inline_source = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ProductInlineSource |
| Returns | |
|---|---|
| Type | Description |
ProductInputConfig.Builder |
|
setBigQuerySource(BigQuerySource value)
public ProductInputConfig.Builder setBigQuerySource(BigQuerySource value)BigQuery input source.
.google.cloud.retail.v2.BigQuerySource big_query_source = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
BigQuerySource |
| Returns | |
|---|---|
| Type | Description |
ProductInputConfig.Builder |
|
setBigQuerySource(BigQuerySource.Builder builderForValue)
public ProductInputConfig.Builder setBigQuerySource(BigQuerySource.Builder builderForValue)BigQuery input source.
.google.cloud.retail.v2.BigQuerySource big_query_source = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BigQuerySource.Builder |
| Returns | |
|---|---|
| Type | Description |
ProductInputConfig.Builder |
|
setGcsSource(GcsSource value)
public ProductInputConfig.Builder setGcsSource(GcsSource value)Google Cloud Storage location for the input content.
.google.cloud.retail.v2.GcsSource gcs_source = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
GcsSource |
| Returns | |
|---|---|
| Type | Description |
ProductInputConfig.Builder |
|
setGcsSource(GcsSource.Builder builderForValue)
public ProductInputConfig.Builder setGcsSource(GcsSource.Builder builderForValue)Google Cloud Storage location for the input content.
.google.cloud.retail.v2.GcsSource gcs_source = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
GcsSource.Builder |
| Returns | |
|---|---|
| Type | Description |
ProductInputConfig.Builder |
|
setProductInlineSource(ProductInlineSource value)
public ProductInputConfig.Builder setProductInlineSource(ProductInlineSource value)The Inline source for the input content for products.
.google.cloud.retail.v2.ProductInlineSource product_inline_source = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ProductInlineSource |
| Returns | |
|---|---|
| Type | Description |
ProductInputConfig.Builder |
|
setProductInlineSource(ProductInlineSource.Builder builderForValue)
public ProductInputConfig.Builder setProductInlineSource(ProductInlineSource.Builder builderForValue)The Inline source for the input content for products.
.google.cloud.retail.v2.ProductInlineSource product_inline_source = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ProductInlineSource.Builder |
| Returns | |
|---|---|
| Type | Description |
ProductInputConfig.Builder |
|