public static final class ListPurchasableOffersRequest.ChangeOfferPurchase extends GeneratedMessageV3 implements ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder
List Offers for ChangeOffer purchase.
Protobuf type google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase
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>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
BILLING_ACCOUNT_FIELD_NUMBER
public static final int BILLING_ACCOUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ENTITLEMENT_FIELD_NUMBER
public static final int ENTITLEMENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NEW_SKU_FIELD_NUMBER
public static final int NEW_SKU_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ListPurchasableOffersRequest.ChangeOfferPurchase getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ListPurchasableOffersRequest.ChangeOfferPurchase.Builder newBuilder()
newBuilder(ListPurchasableOffersRequest.ChangeOfferPurchase prototype)
public static ListPurchasableOffersRequest.ChangeOfferPurchase.Builder newBuilder(ListPurchasableOffersRequest.ChangeOfferPurchase prototype)
public static ListPurchasableOffersRequest.ChangeOfferPurchase parseDelimitedFrom(InputStream input)
public static ListPurchasableOffersRequest.ChangeOfferPurchase parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom(CodedInputStream input)
public static ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom(InputStream input)
public static ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ListPurchasableOffersRequest.ChangeOfferPurchase> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getBillingAccount()
public String getBillingAccount()
Optional. Resource name of the new target Billing Account. Provide this
Billing Account when setting up billing for a trial subscription. Format:
accounts/{account_id}/billingAccounts/{billing_account_id}.
This field is only relevant for multi-currency accounts. It should be
left empty for single currency accounts.
string billing_account = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
String | The billingAccount.
|
getBillingAccountBytes()
public ByteString getBillingAccountBytes()
Optional. Resource name of the new target Billing Account. Provide this
Billing Account when setting up billing for a trial subscription. Format:
accounts/{account_id}/billingAccounts/{billing_account_id}.
This field is only relevant for multi-currency accounts. It should be
left empty for single currency accounts.
string billing_account = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
ByteString | The bytes for billingAccount.
|
getDefaultInstanceForType()
public ListPurchasableOffersRequest.ChangeOfferPurchase getDefaultInstanceForType()
getEntitlement()
public String getEntitlement()
Required. Resource name of the entitlement.
Format:
accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
string entitlement = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The entitlement.
|
getEntitlementBytes()
public ByteString getEntitlementBytes()
Required. Resource name of the entitlement.
Format:
accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
string entitlement = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for entitlement.
|
getNewSku()
public String getNewSku()
Optional. Resource name of the new target SKU. Provide this SKU when
upgrading or downgrading an entitlement. Format:
products/{product_id}/skus/{sku_id}
string new_sku = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
String | The newSku.
|
getNewSkuBytes()
public ByteString getNewSkuBytes()
Optional. Resource name of the new target SKU. Provide this SKU when
upgrading or downgrading an entitlement. Format:
products/{product_id}/skus/{sku_id}
string new_sku = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
ByteString | The bytes for newSku.
|
getParserForType()
public Parser<ListPurchasableOffersRequest.ChangeOfferPurchase> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ListPurchasableOffersRequest.ChangeOfferPurchase.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListPurchasableOffersRequest.ChangeOfferPurchase.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ListPurchasableOffersRequest.ChangeOfferPurchase.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides