Interface ListPurchasableOffersRequestOrBuilder (3.40.0)

public interface ListPurchasableOffersRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getChangeOfferPurchase()

public abstract ListPurchasableOffersRequest.ChangeOfferPurchase getChangeOfferPurchase()

List Offers for ChangeOffer purchase.

.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3;

Returns
TypeDescription
ListPurchasableOffersRequest.ChangeOfferPurchase

The changeOfferPurchase.

getChangeOfferPurchaseOrBuilder()

public abstract ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder getChangeOfferPurchaseOrBuilder()

List Offers for ChangeOffer purchase.

.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3;

Returns
TypeDescription
ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder

getCreateEntitlementPurchase()

public abstract ListPurchasableOffersRequest.CreateEntitlementPurchase getCreateEntitlementPurchase()

List Offers for CreateEntitlement purchase.

.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2;

Returns
TypeDescription
ListPurchasableOffersRequest.CreateEntitlementPurchase

The createEntitlementPurchase.

getCreateEntitlementPurchaseOrBuilder()

public abstract ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilder getCreateEntitlementPurchaseOrBuilder()

List Offers for CreateEntitlement purchase.

.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2;

Returns
TypeDescription
ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilder

getCustomer()

public abstract String getCustomer()

Required. The resource name of the customer to list Offers for. Format: accounts/{account_id}/customers/{customer_id}.

string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The customer.

getCustomerBytes()

public abstract ByteString getCustomerBytes()

Required. The resource name of the customer to list Offers for. Format: accounts/{account_id}/customers/{customer_id}.

string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for customer.

getLanguageCode()

public abstract String getLanguageCode()

Optional. The BCP-47 language code. For example, "en-US". The response will localize in the corresponding language code, if specified. The default value is "en-US".

string language_code = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The languageCode.

getLanguageCodeBytes()

public abstract ByteString getLanguageCodeBytes()

Optional. The BCP-47 language code. For example, "en-US". The response will localize in the corresponding language code, if specified. The default value is "en-US".

string language_code = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for languageCode.

getPageSize()

public abstract int getPageSize()

Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 Offers. The maximum value is 1000; the server will coerce values above 1000.

int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The pageSize.

getPageToken()

public abstract String getPageToken()

Optional. A token for a page of results other than the first page.

string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public abstract ByteString getPageTokenBytes()

Optional. A token for a page of results other than the first page.

string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for pageToken.

getPurchaseOptionCase()

public abstract ListPurchasableOffersRequest.PurchaseOptionCase getPurchaseOptionCase()
Returns
TypeDescription
ListPurchasableOffersRequest.PurchaseOptionCase

hasChangeOfferPurchase()

public abstract boolean hasChangeOfferPurchase()

List Offers for ChangeOffer purchase.

.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3;

Returns
TypeDescription
boolean

Whether the changeOfferPurchase field is set.

hasCreateEntitlementPurchase()

public abstract boolean hasCreateEntitlementPurchase()

List Offers for CreateEntitlement purchase.

.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2;

Returns
TypeDescription
boolean

Whether the createEntitlementPurchase field is set.