public static final class ListPurchasableSkusRequest.CreateEntitlementPurchase extends GeneratedMessageV3 implements ListPurchasableSkusRequest.CreateEntitlementPurchaseOrBuilder
List SKUs for a new entitlement. Make the purchase using
CloudChannelService.CreateEntitlement.
Protobuf type
google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase
Static Fields
PRODUCT_FIELD_NUMBER
public static final int PRODUCT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ListPurchasableSkusRequest.CreateEntitlementPurchase getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder newBuilder()
newBuilder(ListPurchasableSkusRequest.CreateEntitlementPurchase prototype)
public static ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder newBuilder(ListPurchasableSkusRequest.CreateEntitlementPurchase prototype)
public static ListPurchasableSkusRequest.CreateEntitlementPurchase parseDelimitedFrom(InputStream input)
public static ListPurchasableSkusRequest.CreateEntitlementPurchase parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom(CodedInputStream input)
public static ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom(InputStream input)
public static ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListPurchasableSkusRequest.CreateEntitlementPurchase parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ListPurchasableSkusRequest.CreateEntitlementPurchase> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ListPurchasableSkusRequest.CreateEntitlementPurchase getDefaultInstanceForType()
getParserForType()
public Parser<ListPurchasableSkusRequest.CreateEntitlementPurchase> getParserForType()
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.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides