Interface ProductOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      MarketingInfo getMarketingInfo()
      Marketing information for the product.
      MarketingInfoOrBuilder getMarketingInfoOrBuilder()
      Marketing information for the product.
      String getName()
      Resource Name of the Product.
      com.google.protobuf.ByteString getNameBytes()
      Resource Name of the Product.
      boolean hasMarketingInfo()
      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 Detail

      • 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;