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
@Generated
public interface SkuOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionMarketing information for the SKU.Marketing information for the SKU.getName()Resource Name of the SKU.com.google.protobuf.ByteStringResource Name of the SKU.Product the SKU is associated with.Product the SKU is associated with.booleanMarketing information for the SKU.booleanProduct the SKU is associated with.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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 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;
-