public static final class ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder extends GeneratedMessageV3.Builder<ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder> implements ListPurchasableSkusRequest.CreateEntitlementPurchaseOrBuilder
List SKUs for a new entitlement. Make the purchase using
CloudChannelService.CreateEntitlement.
Protobuf type
google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListPurchasableSkusRequest.CreateEntitlementPurchase build()
buildPartial()
public ListPurchasableSkusRequest.CreateEntitlementPurchase buildPartial()
clear()
public ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProduct()
public ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder clearProduct()
Required. List SKUs belonging to this Product.
Format: products/{product_id}.
Supports products/- to retrieve SKUs for all products.
string product = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder clone()
Overrides
getDefaultInstanceForType()
public ListPurchasableSkusRequest.CreateEntitlementPurchase getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getProduct()
public String getProduct()
Required. List SKUs belonging to this Product.
Format: products/{product_id}.
Supports products/- to retrieve SKUs for all products.
string product = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The product.
|
getProductBytes()
public ByteString getProductBytes()
Required. List SKUs belonging to this Product.
Format: products/{product_id}.
Supports products/- to retrieve SKUs for all products.
string product = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for product.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListPurchasableSkusRequest.CreateEntitlementPurchase other)
public ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder mergeFrom(ListPurchasableSkusRequest.CreateEntitlementPurchase other)
public ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setProduct(String value)
public ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder setProduct(String value)
Required. List SKUs belonging to this Product.
Format: products/{product_id}.
Supports products/- to retrieve SKUs for all products.
string product = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The product to set.
|
setProductBytes(ByteString value)
public ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder setProductBytes(ByteString value)
Required. List SKUs belonging to this Product.
Format: products/{product_id}.
Supports products/- to retrieve SKUs for all products.
string product = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for product to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides