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 MarketingInfo
getMarketingInfo()
Marketing information for the SKU.MarketingInfoOrBuilder
getMarketingInfoOrBuilder()
Marketing information for the SKU.String
getName()
Resource Name of the SKU.com.google.protobuf.ByteString
getNameBytes()
Resource Name of the SKU.Product
getProduct()
Product the SKU is associated with.ProductOrBuilder
getProductOrBuilder()
Product the SKU is associated with.boolean
hasMarketingInfo()
Marketing information for the SKU.boolean
hasProduct()
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;
-
-