Class ListTransferableOffersRequest.Builder (3.52.0)

public static final class ListTransferableOffersRequest.Builder extends GeneratedMessageV3.Builder<ListTransferableOffersRequest.Builder> implements ListTransferableOffersRequestOrBuilder

Request message for CloudChannelService.ListTransferableOffers

Protobuf type google.cloud.channel.v1.ListTransferableOffersRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListTransferableOffersRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListTransferableOffersRequest.Builder
Overrides

build()

public ListTransferableOffersRequest build()
Returns
Type Description
ListTransferableOffersRequest

buildPartial()

public ListTransferableOffersRequest buildPartial()
Returns
Type Description
ListTransferableOffersRequest

clear()

public ListTransferableOffersRequest.Builder clear()
Returns
Type Description
ListTransferableOffersRequest.Builder
Overrides

clearBillingAccount()

public ListTransferableOffersRequest.Builder clearBillingAccount()

Optional. The Billing Account to look up Offers for. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.

This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.

string billing_account = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListTransferableOffersRequest.Builder

This builder for chaining.

clearCloudIdentityId()

public ListTransferableOffersRequest.Builder clearCloudIdentityId()

Customer's Cloud Identity ID

string cloud_identity_id = 4;

Returns
Type Description
ListTransferableOffersRequest.Builder

This builder for chaining.

clearCustomerName()

public ListTransferableOffersRequest.Builder clearCustomerName()

A reseller should create a customer and use the resource name of that customer here.

string customer_name = 5;

Returns
Type Description
ListTransferableOffersRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ListTransferableOffersRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListTransferableOffersRequest.Builder
Overrides

clearLanguageCode()

public ListTransferableOffersRequest.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 = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListTransferableOffersRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListTransferableOffersRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListTransferableOffersRequest.Builder
Overrides

clearPageSize()

public ListTransferableOffersRequest.Builder clearPageSize()

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 = 2;

Returns
Type Description
ListTransferableOffersRequest.Builder

This builder for chaining.

clearPageToken()

public ListTransferableOffersRequest.Builder clearPageToken()

A token for a page of results other than the first page. Obtained using ListTransferableOffersResponse.next_page_token of the previous CloudChannelService.ListTransferableOffers call.

string page_token = 3;

Returns
Type Description
ListTransferableOffersRequest.Builder

This builder for chaining.

clearParent()

public ListTransferableOffersRequest.Builder clearParent()

Required. The resource name of the reseller's account.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ListTransferableOffersRequest.Builder

This builder for chaining.

clearSku()

public ListTransferableOffersRequest.Builder clearSku()

Required. The SKU to look up Offers for.

string sku = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ListTransferableOffersRequest.Builder

This builder for chaining.

clearTransferredCustomerIdentity()

public ListTransferableOffersRequest.Builder clearTransferredCustomerIdentity()
Returns
Type Description
ListTransferableOffersRequest.Builder

clone()

public ListTransferableOffersRequest.Builder clone()
Returns
Type Description
ListTransferableOffersRequest.Builder
Overrides

getBillingAccount()

public String getBillingAccount()

Optional. The Billing Account to look up Offers for. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.

This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.

string billing_account = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The billingAccount.

getBillingAccountBytes()

public ByteString getBillingAccountBytes()

Optional. The Billing Account to look up Offers for. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.

This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.

string billing_account = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for billingAccount.

getCloudIdentityId()

public String getCloudIdentityId()

Customer's Cloud Identity ID

string cloud_identity_id = 4;

Returns
Type Description
String

The cloudIdentityId.

getCloudIdentityIdBytes()

public ByteString getCloudIdentityIdBytes()

Customer's Cloud Identity ID

string cloud_identity_id = 4;

Returns
Type Description
ByteString

The bytes for cloudIdentityId.

getCustomerName()

public String getCustomerName()

A reseller should create a customer and use the resource name of that customer here.

string customer_name = 5;

Returns
Type Description
String

The customerName.

getCustomerNameBytes()

public ByteString getCustomerNameBytes()

A reseller should create a customer and use the resource name of that customer here.

string customer_name = 5;

Returns
Type Description
ByteString

The bytes for customerName.

getDefaultInstanceForType()

public ListTransferableOffersRequest getDefaultInstanceForType()
Returns
Type Description
ListTransferableOffersRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 = 7 [(.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 = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for languageCode.

getPageSize()

public int getPageSize()

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 = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

A token for a page of results other than the first page. Obtained using ListTransferableOffersResponse.next_page_token of the previous CloudChannelService.ListTransferableOffers call.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

A token for a page of results other than the first page. Obtained using ListTransferableOffersResponse.next_page_token of the previous CloudChannelService.ListTransferableOffers call.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The resource name of the reseller's account.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the reseller's account.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for parent.

getSku()

public String getSku()

Required. The SKU to look up Offers for.

string sku = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The sku.

getSkuBytes()

public ByteString getSkuBytes()

Required. The SKU to look up Offers for.

string sku = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for sku.

getTransferredCustomerIdentityCase()

public ListTransferableOffersRequest.TransferredCustomerIdentityCase getTransferredCustomerIdentityCase()
Returns
Type Description
ListTransferableOffersRequest.TransferredCustomerIdentityCase

hasCloudIdentityId()

public boolean hasCloudIdentityId()

Customer's Cloud Identity ID

string cloud_identity_id = 4;

Returns
Type Description
boolean

Whether the cloudIdentityId field is set.

hasCustomerName()

public boolean hasCustomerName()

A reseller should create a customer and use the resource name of that customer here.

string customer_name = 5;

Returns
Type Description
boolean

Whether the customerName field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListTransferableOffersRequest other)

public ListTransferableOffersRequest.Builder mergeFrom(ListTransferableOffersRequest other)
Parameter
Name Description
other ListTransferableOffersRequest
Returns
Type Description
ListTransferableOffersRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListTransferableOffersRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListTransferableOffersRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListTransferableOffersRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListTransferableOffersRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTransferableOffersRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListTransferableOffersRequest.Builder
Overrides

setBillingAccount(String value)

public ListTransferableOffersRequest.Builder setBillingAccount(String value)

Optional. The Billing Account to look up Offers for. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.

This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.

string billing_account = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The billingAccount to set.

Returns
Type Description
ListTransferableOffersRequest.Builder

This builder for chaining.

setBillingAccountBytes(ByteString value)

public ListTransferableOffersRequest.Builder setBillingAccountBytes(ByteString value)

Optional. The Billing Account to look up Offers for. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.

This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.

string billing_account = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for billingAccount to set.

Returns
Type Description
ListTransferableOffersRequest.Builder

This builder for chaining.

setCloudIdentityId(String value)

public ListTransferableOffersRequest.Builder setCloudIdentityId(String value)

Customer's Cloud Identity ID

string cloud_identity_id = 4;

Parameter
Name Description
value String

The cloudIdentityId to set.

Returns
Type Description
ListTransferableOffersRequest.Builder

This builder for chaining.

setCloudIdentityIdBytes(ByteString value)

public ListTransferableOffersRequest.Builder setCloudIdentityIdBytes(ByteString value)

Customer's Cloud Identity ID

string cloud_identity_id = 4;

Parameter
Name Description
value ByteString

The bytes for cloudIdentityId to set.

Returns
Type Description
ListTransferableOffersRequest.Builder

This builder for chaining.

setCustomerName(String value)

public ListTransferableOffersRequest.Builder setCustomerName(String value)

A reseller should create a customer and use the resource name of that customer here.

string customer_name = 5;

Parameter
Name Description
value String

The customerName to set.

Returns
Type Description
ListTransferableOffersRequest.Builder

This builder for chaining.

setCustomerNameBytes(ByteString value)

public ListTransferableOffersRequest.Builder setCustomerNameBytes(ByteString value)

A reseller should create a customer and use the resource name of that customer here.

string customer_name = 5;

Parameter
Name Description
value ByteString

The bytes for customerName to set.

Returns
Type Description
ListTransferableOffersRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ListTransferableOffersRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListTransferableOffersRequest.Builder
Overrides

setLanguageCode(String value)

public ListTransferableOffersRequest.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 = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The languageCode to set.

Returns
Type Description
ListTransferableOffersRequest.Builder

This builder for chaining.

setLanguageCodeBytes(ByteString value)

public ListTransferableOffersRequest.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 = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for languageCode to set.

Returns
Type Description
ListTransferableOffersRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListTransferableOffersRequest.Builder setPageSize(int value)

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 = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListTransferableOffersRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListTransferableOffersRequest.Builder setPageToken(String value)

A token for a page of results other than the first page. Obtained using ListTransferableOffersResponse.next_page_token of the previous CloudChannelService.ListTransferableOffers call.

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListTransferableOffersRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListTransferableOffersRequest.Builder setPageTokenBytes(ByteString value)

A token for a page of results other than the first page. Obtained using ListTransferableOffersResponse.next_page_token of the previous CloudChannelService.ListTransferableOffers call.

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListTransferableOffersRequest.Builder

This builder for chaining.

setParent(String value)

public ListTransferableOffersRequest.Builder setParent(String value)

Required. The resource name of the reseller's account.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListTransferableOffersRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListTransferableOffersRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the reseller's account.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListTransferableOffersRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListTransferableOffersRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListTransferableOffersRequest.Builder
Overrides

setSku(String value)

public ListTransferableOffersRequest.Builder setSku(String value)

Required. The SKU to look up Offers for.

string sku = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The sku to set.

Returns
Type Description
ListTransferableOffersRequest.Builder

This builder for chaining.

setSkuBytes(ByteString value)

public ListTransferableOffersRequest.Builder setSkuBytes(ByteString value)

Required. The SKU to look up Offers for.

string sku = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for sku to set.

Returns
Type Description
ListTransferableOffersRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ListTransferableOffersRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListTransferableOffersRequest.Builder
Overrides