Class ProductInputConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.retail.v2alpha.ProductInputConfig
All Implemented Interfaces:
ProductInputConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ProductInputConfig extends com.google.protobuf.GeneratedMessage implements ProductInputConfigOrBuilder
 The input config source for products.
 
Protobuf type google.cloud.retail.v2alpha.ProductInputConfig
See Also:
  • Field Details

    • PRODUCT_INLINE_SOURCE_FIELD_NUMBER

      public static final int PRODUCT_INLINE_SOURCE_FIELD_NUMBER
      See Also:
    • GCS_SOURCE_FIELD_NUMBER

      public static final int GCS_SOURCE_FIELD_NUMBER
      See Also:
    • BIG_QUERY_SOURCE_FIELD_NUMBER

      public static final int BIG_QUERY_SOURCE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getSourceCase

      public ProductInputConfig.SourceCase getSourceCase()
      Specified by:
      getSourceCase in interface ProductInputConfigOrBuilder
    • hasProductInlineSource

      public boolean hasProductInlineSource()
       The Inline source for the input content for products.
       
      .google.cloud.retail.v2alpha.ProductInlineSource product_inline_source = 1;
      Specified by:
      hasProductInlineSource in interface ProductInputConfigOrBuilder
      Returns:
      Whether the productInlineSource field is set.
    • getProductInlineSource

      public ProductInlineSource getProductInlineSource()
       The Inline source for the input content for products.
       
      .google.cloud.retail.v2alpha.ProductInlineSource product_inline_source = 1;
      Specified by:
      getProductInlineSource in interface ProductInputConfigOrBuilder
      Returns:
      The productInlineSource.
    • getProductInlineSourceOrBuilder

      public ProductInlineSourceOrBuilder getProductInlineSourceOrBuilder()
       The Inline source for the input content for products.
       
      .google.cloud.retail.v2alpha.ProductInlineSource product_inline_source = 1;
      Specified by:
      getProductInlineSourceOrBuilder in interface ProductInputConfigOrBuilder
    • hasGcsSource

      public boolean hasGcsSource()
       Google Cloud Storage location for the input content.
       
      .google.cloud.retail.v2alpha.GcsSource gcs_source = 2;
      Specified by:
      hasGcsSource in interface ProductInputConfigOrBuilder
      Returns:
      Whether the gcsSource field is set.
    • getGcsSource

      public GcsSource getGcsSource()
       Google Cloud Storage location for the input content.
       
      .google.cloud.retail.v2alpha.GcsSource gcs_source = 2;
      Specified by:
      getGcsSource in interface ProductInputConfigOrBuilder
      Returns:
      The gcsSource.
    • getGcsSourceOrBuilder

      public GcsSourceOrBuilder getGcsSourceOrBuilder()
       Google Cloud Storage location for the input content.
       
      .google.cloud.retail.v2alpha.GcsSource gcs_source = 2;
      Specified by:
      getGcsSourceOrBuilder in interface ProductInputConfigOrBuilder
    • hasBigQuerySource

      public boolean hasBigQuerySource()
       BigQuery input source.
       
      .google.cloud.retail.v2alpha.BigQuerySource big_query_source = 3;
      Specified by:
      hasBigQuerySource in interface ProductInputConfigOrBuilder
      Returns:
      Whether the bigQuerySource field is set.
    • getBigQuerySource

      public BigQuerySource getBigQuerySource()
       BigQuery input source.
       
      .google.cloud.retail.v2alpha.BigQuerySource big_query_source = 3;
      Specified by:
      getBigQuerySource in interface ProductInputConfigOrBuilder
      Returns:
      The bigQuerySource.
    • getBigQuerySourceOrBuilder

      public BigQuerySourceOrBuilder getBigQuerySourceOrBuilder()
       BigQuery input source.
       
      .google.cloud.retail.v2alpha.BigQuerySource big_query_source = 3;
      Specified by:
      getBigQuerySourceOrBuilder in interface ProductInputConfigOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ProductInputConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProductInputConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProductInputConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProductInputConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProductInputConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProductInputConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProductInputConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ProductInputConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ProductInputConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ProductInputConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ProductInputConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ProductInputConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ProductInputConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ProductInputConfig.Builder newBuilder()
    • newBuilder

      public static ProductInputConfig.Builder newBuilder(ProductInputConfig prototype)
    • toBuilder

      public ProductInputConfig.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ProductInputConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ProductInputConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ProductInputConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<ProductInputConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ProductInputConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder