Package com.google.cloud.channel.v1
Interface SkuOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Sku,Sku.Builder
public interface SkuOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MarketingInfogetMarketingInfo()Marketing information for the SKU.MarketingInfoOrBuildergetMarketingInfoOrBuilder()Marketing information for the SKU.StringgetName()Resource Name of the SKU.com.google.protobuf.ByteStringgetNameBytes()Resource Name of the SKU.ProductgetProduct()Product the SKU is associated with.ProductOrBuildergetProductOrBuilder()Product the SKU is associated with.booleanhasMarketingInfo()Marketing information for the SKU.booleanhasProduct()Product the SKU is associated with.-
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 SKU. Format: products/{product_id}/skus/{sku_id}string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Resource Name of the SKU. Format: products/{product_id}/skus/{sku_id}string name = 1;- Returns:
- The bytes for name.
-
hasMarketingInfo
boolean hasMarketingInfo()
Marketing information for the SKU.
.google.cloud.channel.v1.MarketingInfo marketing_info = 2;- Returns:
- Whether the marketingInfo field is set.
-
getMarketingInfo
MarketingInfo getMarketingInfo()
Marketing information for the SKU.
.google.cloud.channel.v1.MarketingInfo marketing_info = 2;- Returns:
- The marketingInfo.
-
getMarketingInfoOrBuilder
MarketingInfoOrBuilder getMarketingInfoOrBuilder()
Marketing information for the SKU.
.google.cloud.channel.v1.MarketingInfo marketing_info = 2;
-
hasProduct
boolean hasProduct()
Product the SKU is associated with.
.google.cloud.channel.v1.Product product = 3;- Returns:
- Whether the product field is set.
-
getProduct
Product getProduct()
Product the SKU is associated with.
.google.cloud.channel.v1.Product product = 3;- Returns:
- The product.
-
getProductOrBuilder
ProductOrBuilder getProductOrBuilder()
Product the SKU is associated with.
.google.cloud.channel.v1.Product product = 3;
-
-