Class ProductInputConfig (2.39.0)

public final class ProductInputConfig extends GeneratedMessageV3 implements ProductInputConfigOrBuilder

The input config source for products.

Protobuf type google.cloud.retail.v2alpha.ProductInputConfig

Static Fields

BIG_QUERY_SOURCE_FIELD_NUMBER

public static final int BIG_QUERY_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

GCS_SOURCE_FIELD_NUMBER

public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

PRODUCT_INLINE_SOURCE_FIELD_NUMBER

public static final int PRODUCT_INLINE_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ProductInputConfig getDefaultInstance()
Returns
TypeDescription
ProductInputConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ProductInputConfig.Builder newBuilder()
Returns
TypeDescription
ProductInputConfig.Builder

newBuilder(ProductInputConfig prototype)

public static ProductInputConfig.Builder newBuilder(ProductInputConfig prototype)
Parameter
NameDescription
prototypeProductInputConfig
Returns
TypeDescription
ProductInputConfig.Builder

parseDelimitedFrom(InputStream input)

public static ProductInputConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProductInputConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductInputConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProductInputConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ProductInputConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ProductInputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProductInputConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProductInputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProductInputConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ProductInputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProductInputConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProductInputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProductInputConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ProductInputConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductInputConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProductInputConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ProductInputConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProductInputConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProductInputConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProductInputConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ProductInputConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ProductInputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProductInputConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProductInputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ProductInputConfig> parser()
Returns
TypeDescription
Parser<ProductInputConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBigQuerySource()

public BigQuerySource getBigQuerySource()

BigQuery input source.

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

Returns
TypeDescription
BigQuerySource

The bigQuerySource.

getBigQuerySourceOrBuilder()

public BigQuerySourceOrBuilder getBigQuerySourceOrBuilder()

BigQuery input source.

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

Returns
TypeDescription
BigQuerySourceOrBuilder

getDefaultInstanceForType()

public ProductInputConfig getDefaultInstanceForType()
Returns
TypeDescription
ProductInputConfig

getGcsSource()

public GcsSource getGcsSource()

Google Cloud Storage location for the input content.

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

Returns
TypeDescription
GcsSource

The gcsSource.

getGcsSourceOrBuilder()

public GcsSourceOrBuilder getGcsSourceOrBuilder()

Google Cloud Storage location for the input content.

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

Returns
TypeDescription
GcsSourceOrBuilder

getParserForType()

public Parser<ProductInputConfig> getParserForType()
Returns
TypeDescription
Parser<ProductInputConfig>
Overrides

getProductInlineSource()

public ProductInlineSource getProductInlineSource()

The Inline source for the input content for products.

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

Returns
TypeDescription
ProductInlineSource

The productInlineSource.

getProductInlineSourceOrBuilder()

public ProductInlineSourceOrBuilder getProductInlineSourceOrBuilder()

The Inline source for the input content for products.

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

Returns
TypeDescription
ProductInlineSourceOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceCase()

public ProductInputConfig.SourceCase getSourceCase()
Returns
TypeDescription
ProductInputConfig.SourceCase

hasBigQuerySource()

public boolean hasBigQuerySource()

BigQuery input source.

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

Returns
TypeDescription
boolean

Whether the bigQuerySource field is set.

hasGcsSource()

public boolean hasGcsSource()

Google Cloud Storage location for the input content.

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

Returns
TypeDescription
boolean

Whether the gcsSource field is set.

hasProductInlineSource()

public boolean hasProductInlineSource()

The Inline source for the input content for products.

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

Returns
TypeDescription
boolean

Whether the productInlineSource field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ProductInputConfig.Builder newBuilderForType()
Returns
TypeDescription
ProductInputConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProductInputConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ProductInputConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ProductInputConfig.Builder toBuilder()
Returns
TypeDescription
ProductInputConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException