public static final class ListPurchasableOffersRequest.CreateEntitlementPurchase extends GeneratedMessageV3 implements ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilder
List Offers for CreateEntitlement purchase.
Protobuf type
google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
BILLING_ACCOUNT_FIELD_NUMBER
public static final int BILLING_ACCOUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SKU_FIELD_NUMBER
public static final int SKU_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ListPurchasableOffersRequest.CreateEntitlementPurchase getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder newBuilder()
newBuilder(ListPurchasableOffersRequest.CreateEntitlementPurchase prototype)
public static ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder newBuilder(ListPurchasableOffersRequest.CreateEntitlementPurchase prototype)
public static ListPurchasableOffersRequest.CreateEntitlementPurchase parseDelimitedFrom(InputStream input)
public static ListPurchasableOffersRequest.CreateEntitlementPurchase parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom(CodedInputStream input)
public static ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom(InputStream input)
public static ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListPurchasableOffersRequest.CreateEntitlementPurchase parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ListPurchasableOffersRequest.CreateEntitlementPurchase> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getBillingAccount()
public String getBillingAccount()
Optional. Billing account that the result should be restricted to.
Format: accounts/{account_id}/billingAccounts/{billing_account_id}.
string billing_account = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
String | The billingAccount.
|
getBillingAccountBytes()
public ByteString getBillingAccountBytes()
Optional. Billing account that the result should be restricted to.
Format: accounts/{account_id}/billingAccounts/{billing_account_id}.
string billing_account = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
ByteString | The bytes for billingAccount.
|
getDefaultInstanceForType()
public ListPurchasableOffersRequest.CreateEntitlementPurchase getDefaultInstanceForType()
getParserForType()
public Parser<ListPurchasableOffersRequest.CreateEntitlementPurchase> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSku()
Required. SKU that the result should be restricted to.
Format: products/{product_id}/skus/{sku_id}.
string sku = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The sku.
|
getSkuBytes()
public ByteString getSkuBytes()
Required. SKU that the result should be restricted to.
Format: products/{product_id}/skus/{sku_id}.
string sku = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for sku.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides