public static final class ListPurchasableOffersRequest.ChangeOfferPurchase extends GeneratedMessageV3 implements ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder
List Offers for ChangeOffer purchase.
Protobuf type google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase
Fields
ENTITLEMENT_FIELD_NUMBER
public static final int ENTITLEMENT_FIELD_NUMBER
Field Value
NEW_SKU_FIELD_NUMBER
public static final int NEW_SKU_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static ListPurchasableOffersRequest.ChangeOfferPurchase getDefaultInstance()
Returns
getDefaultInstanceForType()
public ListPurchasableOffersRequest.ChangeOfferPurchase getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
getParserForType()
public Parser<ListPurchasableOffersRequest.ChangeOfferPurchase> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static ListPurchasableOffersRequest.ChangeOfferPurchase.Builder newBuilder()
Returns
newBuilder(ListPurchasableOffersRequest.ChangeOfferPurchase prototype)
public static ListPurchasableOffersRequest.ChangeOfferPurchase.Builder newBuilder(ListPurchasableOffersRequest.ChangeOfferPurchase prototype)
Parameter
Returns
newBuilderForType()
public ListPurchasableOffersRequest.ChangeOfferPurchase.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListPurchasableOffersRequest.ChangeOfferPurchase.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static ListPurchasableOffersRequest.ChangeOfferPurchase parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListPurchasableOffersRequest.ChangeOfferPurchase parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListPurchasableOffersRequest.ChangeOfferPurchase parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ListPurchasableOffersRequest.ChangeOfferPurchase> parser()
Returns
toBuilder()
public ListPurchasableOffersRequest.ChangeOfferPurchase.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions