public final class ProductInputConfig extends GeneratedMessageV3 implements ProductInputConfigOrBuilder
The input config source for products.
Protobuf type google.cloud.retail.v2.ProductInputConfig
Static Fields
public static final int BIG_QUERY_SOURCE_FIELD_NUMBER
Field Value
public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
public static final int PRODUCT_INLINE_SOURCE_FIELD_NUMBER
Field Value
Static Methods
public static ProductInputConfig getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ProductInputConfig.Builder newBuilder()
Returns
public static ProductInputConfig.Builder newBuilder(ProductInputConfig prototype)
Parameter
Returns
public static ProductInputConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ProductInputConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ProductInputConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ProductInputConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ProductInputConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ProductInputConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ProductInputConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ProductInputConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ProductInputConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ProductInputConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ProductInputConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ProductInputConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ProductInputConfig> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public BigQuerySource getBigQuerySource()
BigQuery input source.
.google.cloud.retail.v2.BigQuerySource big_query_source = 3;
Returns
public BigQuerySourceOrBuilder getBigQuerySourceOrBuilder()
BigQuery input source.
.google.cloud.retail.v2.BigQuerySource big_query_source = 3;
Returns
public ProductInputConfig getDefaultInstanceForType()
Returns
public GcsSource getGcsSource()
Google Cloud Storage location for the input content.
.google.cloud.retail.v2.GcsSource gcs_source = 2;
Returns
public GcsSourceOrBuilder getGcsSourceOrBuilder()
Google Cloud Storage location for the input content.
.google.cloud.retail.v2.GcsSource gcs_source = 2;
Returns
public Parser<ProductInputConfig> getParserForType()
Returns
Overrides
public ProductInlineSource getProductInlineSource()
The Inline source for the input content for products.
.google.cloud.retail.v2.ProductInlineSource product_inline_source = 1;
Returns
public ProductInlineSourceOrBuilder getProductInlineSourceOrBuilder()
The Inline source for the input content for products.
.google.cloud.retail.v2.ProductInlineSource product_inline_source = 1;
Returns
public int getSerializedSize()
Returns
Overrides
public ProductInputConfig.SourceCase getSourceCase()
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
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.
|
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ProductInputConfig.Builder newBuilderForType()
Returns
protected ProductInputConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ProductInputConfig.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions