- 3.58.0 (latest)
- 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 ListPurchasableSkusRequest.Builder extends GeneratedMessageV3.Builder<ListPurchasableSkusRequest.Builder> implements ListPurchasableSkusRequestOrBuilder
Request message for ListPurchasableSkus.
Protobuf type google.cloud.channel.v1.ListPurchasableSkusRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListPurchasableSkusRequest.BuilderImplements
ListPurchasableSkusRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListPurchasableSkusRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.Builder |
build()
public ListPurchasableSkusRequest build()
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest |
buildPartial()
public ListPurchasableSkusRequest buildPartial()
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest |
clear()
public ListPurchasableSkusRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.Builder |
clearChangeOfferPurchase()
public ListPurchasableSkusRequest.Builder clearChangeOfferPurchase()
List SKUs for ChangeOffer purchase with a new SKU.
.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3;
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.Builder |
clearCreateEntitlementPurchase()
public ListPurchasableSkusRequest.Builder clearCreateEntitlementPurchase()
List SKUs for CreateEntitlement purchase.
.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2;
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.Builder |
clearCustomer()
public ListPurchasableSkusRequest.Builder clearCustomer()
Required. The resource name of the customer to list SKUs for. Format: accounts/{account_id}/customers/{customer_id}.
string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ListPurchasableSkusRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.Builder |
clearLanguageCode()
public ListPurchasableSkusRequest.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 |
ListPurchasableSkusRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListPurchasableSkusRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.Builder |
clearPageSize()
public ListPurchasableSkusRequest.Builder clearPageSize()
Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 SKUs. The maximum value is 1000; the server will coerce values above 1000.
int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.Builder | This builder for chaining. |
clearPageToken()
public ListPurchasableSkusRequest.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 |
ListPurchasableSkusRequest.Builder | This builder for chaining. |
clearPurchaseOption()
public ListPurchasableSkusRequest.Builder clearPurchaseOption()
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.Builder |
clone()
public ListPurchasableSkusRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.Builder |
getChangeOfferPurchase()
public ListPurchasableSkusRequest.ChangeOfferPurchase getChangeOfferPurchase()
List SKUs for ChangeOffer purchase with a new SKU.
.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3;
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.ChangeOfferPurchase | The changeOfferPurchase. |
getChangeOfferPurchaseBuilder()
public ListPurchasableSkusRequest.ChangeOfferPurchase.Builder getChangeOfferPurchaseBuilder()
List SKUs for ChangeOffer purchase with a new SKU.
.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3;
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.ChangeOfferPurchase.Builder |
getChangeOfferPurchaseOrBuilder()
public ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder getChangeOfferPurchaseOrBuilder()
List SKUs for ChangeOffer purchase with a new SKU.
.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3;
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.ChangeOfferPurchaseOrBuilder |
getCreateEntitlementPurchase()
public ListPurchasableSkusRequest.CreateEntitlementPurchase getCreateEntitlementPurchase()
List SKUs for CreateEntitlement purchase.
.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2;
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.CreateEntitlementPurchase | The createEntitlementPurchase. |
getCreateEntitlementPurchaseBuilder()
public ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder getCreateEntitlementPurchaseBuilder()
List SKUs for CreateEntitlement purchase.
.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2;
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder |
getCreateEntitlementPurchaseOrBuilder()
public ListPurchasableSkusRequest.CreateEntitlementPurchaseOrBuilder getCreateEntitlementPurchaseOrBuilder()
List SKUs for CreateEntitlement purchase.
.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2;
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.CreateEntitlementPurchaseOrBuilder |
getCustomer()
public String getCustomer()
Required. The resource name of the customer to list SKUs 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 SKUs 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 ListPurchasableSkusRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest |
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 SKUs. 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 ListPurchasableSkusRequest.PurchaseOptionCase getPurchaseOptionCase()
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.PurchaseOptionCase |
hasChangeOfferPurchase()
public boolean hasChangeOfferPurchase()
List SKUs for ChangeOffer purchase with a new SKU.
.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3;
Returns | |
---|---|
Type | Description |
boolean | Whether the changeOfferPurchase field is set. |
hasCreateEntitlementPurchase()
public boolean hasCreateEntitlementPurchase()
List SKUs for CreateEntitlement purchase.
.google.cloud.channel.v1.ListPurchasableSkusRequest.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(ListPurchasableSkusRequest.ChangeOfferPurchase value)
public ListPurchasableSkusRequest.Builder mergeChangeOfferPurchase(ListPurchasableSkusRequest.ChangeOfferPurchase value)
List SKUs for ChangeOffer purchase with a new SKU.
.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3;
Parameter | |
---|---|
Name | Description |
value | ListPurchasableSkusRequest.ChangeOfferPurchase |
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.Builder |
mergeCreateEntitlementPurchase(ListPurchasableSkusRequest.CreateEntitlementPurchase value)
public ListPurchasableSkusRequest.Builder mergeCreateEntitlementPurchase(ListPurchasableSkusRequest.CreateEntitlementPurchase value)
List SKUs for CreateEntitlement purchase.
.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2;
Parameter | |
---|---|
Name | Description |
value | ListPurchasableSkusRequest.CreateEntitlementPurchase |
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.Builder |
mergeFrom(ListPurchasableSkusRequest other)
public ListPurchasableSkusRequest.Builder mergeFrom(ListPurchasableSkusRequest other)
Parameter | |
---|---|
Name | Description |
other | ListPurchasableSkusRequest |
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListPurchasableSkusRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListPurchasableSkusRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListPurchasableSkusRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.Builder |
setChangeOfferPurchase(ListPurchasableSkusRequest.ChangeOfferPurchase value)
public ListPurchasableSkusRequest.Builder setChangeOfferPurchase(ListPurchasableSkusRequest.ChangeOfferPurchase value)
List SKUs for ChangeOffer purchase with a new SKU.
.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3;
Parameter | |
---|---|
Name | Description |
value | ListPurchasableSkusRequest.ChangeOfferPurchase |
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.Builder |
setChangeOfferPurchase(ListPurchasableSkusRequest.ChangeOfferPurchase.Builder builderForValue)
public ListPurchasableSkusRequest.Builder setChangeOfferPurchase(ListPurchasableSkusRequest.ChangeOfferPurchase.Builder builderForValue)
List SKUs for ChangeOffer purchase with a new SKU.
.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase change_offer_purchase = 3;
Parameter | |
---|---|
Name | Description |
builderForValue | ListPurchasableSkusRequest.ChangeOfferPurchase.Builder |
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.Builder |
setCreateEntitlementPurchase(ListPurchasableSkusRequest.CreateEntitlementPurchase value)
public ListPurchasableSkusRequest.Builder setCreateEntitlementPurchase(ListPurchasableSkusRequest.CreateEntitlementPurchase value)
List SKUs for CreateEntitlement purchase.
.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2;
Parameter | |
---|---|
Name | Description |
value | ListPurchasableSkusRequest.CreateEntitlementPurchase |
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.Builder |
setCreateEntitlementPurchase(ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder builderForValue)
public ListPurchasableSkusRequest.Builder setCreateEntitlementPurchase(ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder builderForValue)
List SKUs for CreateEntitlement purchase.
.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase create_entitlement_purchase = 2;
Parameter | |
---|---|
Name | Description |
builderForValue | ListPurchasableSkusRequest.CreateEntitlementPurchase.Builder |
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.Builder |
setCustomer(String value)
public ListPurchasableSkusRequest.Builder setCustomer(String value)
Required. The resource name of the customer to list SKUs 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 |
ListPurchasableSkusRequest.Builder | This builder for chaining. |
setCustomerBytes(ByteString value)
public ListPurchasableSkusRequest.Builder setCustomerBytes(ByteString value)
Required. The resource name of the customer to list SKUs 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 |
ListPurchasableSkusRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ListPurchasableSkusRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.Builder |
setLanguageCode(String value)
public ListPurchasableSkusRequest.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 |
ListPurchasableSkusRequest.Builder | This builder for chaining. |
setLanguageCodeBytes(ByteString value)
public ListPurchasableSkusRequest.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 |
ListPurchasableSkusRequest.Builder | This builder for chaining. |
setPageSize(int value)
public ListPurchasableSkusRequest.Builder setPageSize(int value)
Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 SKUs. 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 |
ListPurchasableSkusRequest.Builder | This builder for chaining. |
setPageToken(String value)
public ListPurchasableSkusRequest.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 |
ListPurchasableSkusRequest.Builder | This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListPurchasableSkusRequest.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 |
ListPurchasableSkusRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListPurchasableSkusRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListPurchasableSkusRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListPurchasableSkusRequest.Builder |