- 3.59.0 (latest)
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.1
- 3.5.1
- 3.3.1
public static final class ListPurchasableOffersRequest.Builder extends GeneratedMessageV3.Builder<ListPurchasableOffersRequest.Builder> implements ListPurchasableOffersRequestOrBuilder
Request message for ListPurchasableOffers.
Protobuf type google.cloud.channel.v1.ListPurchasableOffersRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListPurchasableOffersRequest.BuilderImplements
ListPurchasableOffersRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListPurchasableOffersRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
build()
public ListPurchasableOffersRequest build()
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest |
buildPartial()
public ListPurchasableOffersRequest buildPartial()
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest |
clear()
public ListPurchasableOffersRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
clearChangeOfferPurchase()
public ListPurchasableOffersRequest.Builder clearChangeOfferPurchase()
List Offers for ChangeOffer purchase.
.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3;
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
clearCreateEntitlementPurchase()
public ListPurchasableOffersRequest.Builder clearCreateEntitlementPurchase()
List Offers for CreateEntitlement purchase.
.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2;
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
clearCustomer()
public ListPurchasableOffersRequest.Builder clearCustomer()
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 | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ListPurchasableOffersRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
clearLanguageCode()
public ListPurchasableOffersRequest.Builder clearLanguageCode()
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 | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListPurchasableOffersRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
clearPageSize()
public ListPurchasableOffersRequest.Builder clearPageSize()
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 | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
This builder for chaining. |
clearPageToken()
public ListPurchasableOffersRequest.Builder clearPageToken()
Optional. A token for a page of results other than the first page.
string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
This builder for chaining. |
clearPurchaseOption()
public ListPurchasableOffersRequest.Builder clearPurchaseOption()
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
clone()
public ListPurchasableOffersRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
getChangeOfferPurchase()
public ListPurchasableOffersRequest.ChangeOfferPurchase getChangeOfferPurchase()
List Offers for ChangeOffer purchase.
.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3;
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.ChangeOfferPurchase |
The changeOfferPurchase. |
getChangeOfferPurchaseBuilder()
public ListPurchasableOffersRequest.ChangeOfferPurchase.Builder getChangeOfferPurchaseBuilder()
List Offers for ChangeOffer purchase.
.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3;
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.ChangeOfferPurchase.Builder |
getChangeOfferPurchaseOrBuilder()
public ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder getChangeOfferPurchaseOrBuilder()
List Offers for ChangeOffer purchase.
.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3;
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.ChangeOfferPurchaseOrBuilder |
getCreateEntitlementPurchase()
public ListPurchasableOffersRequest.CreateEntitlementPurchase getCreateEntitlementPurchase()
List Offers for CreateEntitlement purchase.
.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2;
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.CreateEntitlementPurchase |
The createEntitlementPurchase. |
getCreateEntitlementPurchaseBuilder()
public ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder getCreateEntitlementPurchaseBuilder()
List Offers for CreateEntitlement purchase.
.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2;
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder |
getCreateEntitlementPurchaseOrBuilder()
public ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilder getCreateEntitlementPurchaseOrBuilder()
List Offers for CreateEntitlement purchase.
.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2;
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilder |
getCustomer()
public 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 | |
---|---|
Type | Description |
String |
The customer. |
getCustomerBytes()
public 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 | |
---|---|
Type | Description |
ByteString |
The bytes for customer. |
getDefaultInstanceForType()
public ListPurchasableOffersRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getLanguageCode()
public 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 | |
---|---|
Type | Description |
String |
The languageCode. |
getLanguageCodeBytes()
public 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 | |
---|---|
Type | Description |
ByteString |
The bytes for languageCode. |
getPageSize()
public 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 | |
---|---|
Type | Description |
int |
The pageSize. |
getPageToken()
public 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 | |
---|---|
Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public 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 | |
---|---|
Type | Description |
ByteString |
The bytes for pageToken. |
getPurchaseOptionCase()
public ListPurchasableOffersRequest.PurchaseOptionCase getPurchaseOptionCase()
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.PurchaseOptionCase |
hasChangeOfferPurchase()
public boolean hasChangeOfferPurchase()
List Offers for ChangeOffer purchase.
.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the changeOfferPurchase field is set. |
hasCreateEntitlementPurchase()
public boolean hasCreateEntitlementPurchase()
List Offers for CreateEntitlement purchase.
.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the createEntitlementPurchase field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeChangeOfferPurchase(ListPurchasableOffersRequest.ChangeOfferPurchase value)
public ListPurchasableOffersRequest.Builder mergeChangeOfferPurchase(ListPurchasableOffersRequest.ChangeOfferPurchase value)
List Offers for ChangeOffer purchase.
.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3;
Parameter | |
---|---|
Name | Description |
value |
ListPurchasableOffersRequest.ChangeOfferPurchase |
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
mergeCreateEntitlementPurchase(ListPurchasableOffersRequest.CreateEntitlementPurchase value)
public ListPurchasableOffersRequest.Builder mergeCreateEntitlementPurchase(ListPurchasableOffersRequest.CreateEntitlementPurchase value)
List Offers for CreateEntitlement purchase.
.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2;
Parameter | |
---|---|
Name | Description |
value |
ListPurchasableOffersRequest.CreateEntitlementPurchase |
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
mergeFrom(ListPurchasableOffersRequest other)
public ListPurchasableOffersRequest.Builder mergeFrom(ListPurchasableOffersRequest other)
Parameter | |
---|---|
Name | Description |
other |
ListPurchasableOffersRequest |
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListPurchasableOffersRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListPurchasableOffersRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListPurchasableOffersRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
setChangeOfferPurchase(ListPurchasableOffersRequest.ChangeOfferPurchase value)
public ListPurchasableOffersRequest.Builder setChangeOfferPurchase(ListPurchasableOffersRequest.ChangeOfferPurchase value)
List Offers for ChangeOffer purchase.
.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3;
Parameter | |
---|---|
Name | Description |
value |
ListPurchasableOffersRequest.ChangeOfferPurchase |
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
setChangeOfferPurchase(ListPurchasableOffersRequest.ChangeOfferPurchase.Builder builderForValue)
public ListPurchasableOffersRequest.Builder setChangeOfferPurchase(ListPurchasableOffersRequest.ChangeOfferPurchase.Builder builderForValue)
List Offers for ChangeOffer purchase.
.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase change_offer_purchase = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
ListPurchasableOffersRequest.ChangeOfferPurchase.Builder |
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
setCreateEntitlementPurchase(ListPurchasableOffersRequest.CreateEntitlementPurchase value)
public ListPurchasableOffersRequest.Builder setCreateEntitlementPurchase(ListPurchasableOffersRequest.CreateEntitlementPurchase value)
List Offers for CreateEntitlement purchase.
.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2;
Parameter | |
---|---|
Name | Description |
value |
ListPurchasableOffersRequest.CreateEntitlementPurchase |
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
setCreateEntitlementPurchase(ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder builderForValue)
public ListPurchasableOffersRequest.Builder setCreateEntitlementPurchase(ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder builderForValue)
List Offers for CreateEntitlement purchase.
.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase create_entitlement_purchase = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder |
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
setCustomer(String value)
public ListPurchasableOffersRequest.Builder setCustomer(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The customer to set. |
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
This builder for chaining. |
setCustomerBytes(ByteString value)
public ListPurchasableOffersRequest.Builder setCustomerBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for customer to set. |
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ListPurchasableOffersRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
setLanguageCode(String value)
public ListPurchasableOffersRequest.Builder setLanguageCode(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The languageCode to set. |
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
This builder for chaining. |
setLanguageCodeBytes(ByteString value)
public ListPurchasableOffersRequest.Builder setLanguageCodeBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for languageCode to set. |
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public ListPurchasableOffersRequest.Builder setPageSize(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The pageSize to set. |
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public ListPurchasableOffersRequest.Builder setPageToken(String value)
Optional. A token for a page of results other than the first page.
string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The pageToken to set. |
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListPurchasableOffersRequest.Builder setPageTokenBytes(ByteString value)
Optional. A token for a page of results other than the first page.
string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for pageToken to set. |
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListPurchasableOffersRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListPurchasableOffersRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListPurchasableOffersRequest.Builder |