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)
Static Fields
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
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