Class ProductInputConfig (2.47.0)

public final class ProductInputConfig extends GeneratedMessageV3 implements ProductInputConfigOrBuilder

The input config source for products.

Protobuf type google.cloud.retail.v2beta.ProductInputConfig

Static Fields

BIG_QUERY_SOURCE_FIELD_NUMBER

public static final int BIG_QUERY_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

GCS_SOURCE_FIELD_NUMBER

public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

PRODUCT_INLINE_SOURCE_FIELD_NUMBER

public static final int PRODUCT_INLINE_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ProductInputConfig getDefaultInstance()
Returns
Type Description
ProductInputConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ProductInputConfig.Builder newBuilder()
Returns
Type Description
ProductInputConfig.Builder

newBuilder(ProductInputConfig prototype)

public static ProductInputConfig.Builder newBuilder(ProductInputConfig prototype)
Parameter
Name Description
prototype ProductInputConfig
Returns
Type Description
ProductInputConfig.Builder

parseDelimitedFrom(InputStream input)

public static ProductInputConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProductInputConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductInputConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductInputConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ProductInputConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ProductInputConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProductInputConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductInputConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProductInputConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ProductInputConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProductInputConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductInputConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProductInputConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ProductInputConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductInputConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductInputConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ProductInputConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProductInputConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductInputConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductInputConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ProductInputConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ProductInputConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProductInputConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProductInputConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ProductInputConfig> parser()
Returns
Type Description
Parser<ProductInputConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBigQuerySource()

public BigQuerySource getBigQuerySource()

BigQuery input source.

.google.cloud.retail.v2beta.BigQuerySource big_query_source = 3;

Returns
Type Description
BigQuerySource

The bigQuerySource.

getBigQuerySourceOrBuilder()

public BigQuerySourceOrBuilder getBigQuerySourceOrBuilder()

BigQuery input source.

.google.cloud.retail.v2beta.BigQuerySource big_query_source = 3;

Returns
Type Description
BigQuerySourceOrBuilder

getDefaultInstanceForType()

public ProductInputConfig getDefaultInstanceForType()
Returns
Type Description
ProductInputConfig

getGcsSource()

public GcsSource getGcsSource()

Google Cloud Storage location for the input content.

.google.cloud.retail.v2beta.GcsSource gcs_source = 2;

Returns
Type Description
GcsSource

The gcsSource.

getGcsSourceOrBuilder()

public GcsSourceOrBuilder getGcsSourceOrBuilder()

Google Cloud Storage location for the input content.

.google.cloud.retail.v2beta.GcsSource gcs_source = 2;

Returns
Type Description
GcsSourceOrBuilder

getParserForType()

public Parser<ProductInputConfig> getParserForType()
Returns
Type Description
Parser<ProductInputConfig>
Overrides

getProductInlineSource()

public ProductInlineSource getProductInlineSource()

The Inline source for the input content for products.

.google.cloud.retail.v2beta.ProductInlineSource product_inline_source = 1;

Returns
Type Description
ProductInlineSource

The productInlineSource.

getProductInlineSourceOrBuilder()

public ProductInlineSourceOrBuilder getProductInlineSourceOrBuilder()

The Inline source for the input content for products.

.google.cloud.retail.v2beta.ProductInlineSource product_inline_source = 1;

Returns
Type Description
ProductInlineSourceOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceCase()

public ProductInputConfig.SourceCase getSourceCase()
Returns
Type Description
ProductInputConfig.SourceCase

hasBigQuerySource()

public boolean hasBigQuerySource()

BigQuery input source.

.google.cloud.retail.v2beta.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.v2beta.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.v2beta.ProductInlineSource product_inline_source = 1;

Returns
Type Description
boolean

Whether the productInlineSource field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ProductInputConfig.Builder newBuilderForType()
Returns
Type Description
ProductInputConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProductInputConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ProductInputConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ProductInputConfig.Builder toBuilder()
Returns
Type Description
ProductInputConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException