Interface ProductOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Product, Product.Builder

@Generated public interface ProductOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Marketing information for the product.
    Marketing information for the product.
    Resource Name of the Product.
    com.google.protobuf.ByteString
    Resource Name of the Product.
    boolean
    Marketing information for the product.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       Resource Name of the Product.
       Format: products/{product_id}
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Resource Name of the Product.
       Format: products/{product_id}
       
      string name = 1;
      Returns:
      The bytes for name.
    • hasMarketingInfo

      boolean hasMarketingInfo()
       Marketing information for the product.
       
      .google.cloud.channel.v1.MarketingInfo marketing_info = 2;
      Returns:
      Whether the marketingInfo field is set.
    • getMarketingInfo

      MarketingInfo getMarketingInfo()
       Marketing information for the product.
       
      .google.cloud.channel.v1.MarketingInfo marketing_info = 2;
      Returns:
      The marketingInfo.
    • getMarketingInfoOrBuilder

      MarketingInfoOrBuilder getMarketingInfoOrBuilder()
       Marketing information for the product.
       
      .google.cloud.channel.v1.MarketingInfo marketing_info = 2;