Class ListTransferableSkusRequest.Builder (3.45.0)

public static final class ListTransferableSkusRequest.Builder extends GeneratedMessageV3.Builder<ListTransferableSkusRequest.Builder> implements ListTransferableSkusRequestOrBuilder

Request message for CloudChannelService.ListTransferableSkus

Protobuf type google.cloud.channel.v1.ListTransferableSkusRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListTransferableSkusRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListTransferableSkusRequest.Builder
Overrides

build()

public ListTransferableSkusRequest build()
Returns
TypeDescription
ListTransferableSkusRequest

buildPartial()

public ListTransferableSkusRequest buildPartial()
Returns
TypeDescription
ListTransferableSkusRequest

clear()

public ListTransferableSkusRequest.Builder clear()
Returns
TypeDescription
ListTransferableSkusRequest.Builder
Overrides

clearAuthToken()

public ListTransferableSkusRequest.Builder clearAuthToken()

Optional. The super admin of the resold customer generates this token to authorize a reseller to access their Cloud Identity and purchase entitlements on their behalf. You can omit this token after authorization. See https://support.google.com/a/answer/7643790 for more details.

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

Returns
TypeDescription
ListTransferableSkusRequest.Builder

This builder for chaining.

clearCloudIdentityId()

public ListTransferableSkusRequest.Builder clearCloudIdentityId()

Customer's Cloud Identity ID

string cloud_identity_id = 4;

Returns
TypeDescription
ListTransferableSkusRequest.Builder

This builder for chaining.

clearCustomerName()

public ListTransferableSkusRequest.Builder clearCustomerName()

A reseller is required to create a customer and use the resource name of the created customer here. Customer_name uses the format: accounts/{account_id}/customers/{customer_id}

string customer_name = 7;

Returns
TypeDescription
ListTransferableSkusRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ListTransferableSkusRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListTransferableSkusRequest.Builder
Overrides

clearLanguageCode()

public ListTransferableSkusRequest.Builder clearLanguageCode()

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". Optional.

string language_code = 6;

Returns
TypeDescription
ListTransferableSkusRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListTransferableSkusRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListTransferableSkusRequest.Builder
Overrides

clearPageSize()

public ListTransferableSkusRequest.Builder clearPageSize()

The 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. Optional.

int32 page_size = 2;

Returns
TypeDescription
ListTransferableSkusRequest.Builder

This builder for chaining.

clearPageToken()

public ListTransferableSkusRequest.Builder clearPageToken()

A token for a page of results other than the first page. Obtained using ListTransferableSkusResponse.next_page_token of the previous CloudChannelService.ListTransferableSkus call. Optional.

string page_token = 3;

Returns
TypeDescription
ListTransferableSkusRequest.Builder

This builder for chaining.

clearParent()

public ListTransferableSkusRequest.Builder clearParent()

Required. The reseller account's resource name. Parent uses the format: accounts/{account_id}

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

Returns
TypeDescription
ListTransferableSkusRequest.Builder

This builder for chaining.

clearTransferredCustomerIdentity()

public ListTransferableSkusRequest.Builder clearTransferredCustomerIdentity()
Returns
TypeDescription
ListTransferableSkusRequest.Builder

clone()

public ListTransferableSkusRequest.Builder clone()
Returns
TypeDescription
ListTransferableSkusRequest.Builder
Overrides

getAuthToken()

public String getAuthToken()

Optional. The super admin of the resold customer generates this token to authorize a reseller to access their Cloud Identity and purchase entitlements on their behalf. You can omit this token after authorization. See https://support.google.com/a/answer/7643790 for more details.

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

Returns
TypeDescription
String

The authToken.

getAuthTokenBytes()

public ByteString getAuthTokenBytes()

Optional. The super admin of the resold customer generates this token to authorize a reseller to access their Cloud Identity and purchase entitlements on their behalf. You can omit this token after authorization. See https://support.google.com/a/answer/7643790 for more details.

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

Returns
TypeDescription
ByteString

The bytes for authToken.

getCloudIdentityId()

public String getCloudIdentityId()

Customer's Cloud Identity ID

string cloud_identity_id = 4;

Returns
TypeDescription
String

The cloudIdentityId.

getCloudIdentityIdBytes()

public ByteString getCloudIdentityIdBytes()

Customer's Cloud Identity ID

string cloud_identity_id = 4;

Returns
TypeDescription
ByteString

The bytes for cloudIdentityId.

getCustomerName()

public String getCustomerName()

A reseller is required to create a customer and use the resource name of the created customer here. Customer_name uses the format: accounts/{account_id}/customers/{customer_id}

string customer_name = 7;

Returns
TypeDescription
String

The customerName.

getCustomerNameBytes()

public ByteString getCustomerNameBytes()

A reseller is required to create a customer and use the resource name of the created customer here. Customer_name uses the format: accounts/{account_id}/customers/{customer_id}

string customer_name = 7;

Returns
TypeDescription
ByteString

The bytes for customerName.

getDefaultInstanceForType()

public ListTransferableSkusRequest getDefaultInstanceForType()
Returns
TypeDescription
ListTransferableSkusRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLanguageCode()

public String getLanguageCode()

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". Optional.

string language_code = 6;

Returns
TypeDescription
String

The languageCode.

getLanguageCodeBytes()

public ByteString getLanguageCodeBytes()

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". Optional.

string language_code = 6;

Returns
TypeDescription
ByteString

The bytes for languageCode.

getPageSize()

public int getPageSize()

The 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. Optional.

int32 page_size = 2;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

A token for a page of results other than the first page. Obtained using ListTransferableSkusResponse.next_page_token of the previous CloudChannelService.ListTransferableSkus call. Optional.

string page_token = 3;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

A token for a page of results other than the first page. Obtained using ListTransferableSkusResponse.next_page_token of the previous CloudChannelService.ListTransferableSkus call. Optional.

string page_token = 3;

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The reseller account's resource name. Parent uses the format: accounts/{account_id}

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The reseller account's resource name. Parent uses the format: accounts/{account_id}

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

Returns
TypeDescription
ByteString

The bytes for parent.

getTransferredCustomerIdentityCase()

public ListTransferableSkusRequest.TransferredCustomerIdentityCase getTransferredCustomerIdentityCase()
Returns
TypeDescription
ListTransferableSkusRequest.TransferredCustomerIdentityCase

hasCloudIdentityId()

public boolean hasCloudIdentityId()

Customer's Cloud Identity ID

string cloud_identity_id = 4;

Returns
TypeDescription
boolean

Whether the cloudIdentityId field is set.

hasCustomerName()

public boolean hasCustomerName()

A reseller is required to create a customer and use the resource name of the created customer here. Customer_name uses the format: accounts/{account_id}/customers/{customer_id}

string customer_name = 7;

Returns
TypeDescription
boolean

Whether the customerName field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListTransferableSkusRequest other)

public ListTransferableSkusRequest.Builder mergeFrom(ListTransferableSkusRequest other)
Parameter
NameDescription
otherListTransferableSkusRequest
Returns
TypeDescription
ListTransferableSkusRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListTransferableSkusRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListTransferableSkusRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListTransferableSkusRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListTransferableSkusRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTransferableSkusRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListTransferableSkusRequest.Builder
Overrides

setAuthToken(String value)

public ListTransferableSkusRequest.Builder setAuthToken(String value)

Optional. The super admin of the resold customer generates this token to authorize a reseller to access their Cloud Identity and purchase entitlements on their behalf. You can omit this token after authorization. See https://support.google.com/a/answer/7643790 for more details.

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

Parameter
NameDescription
valueString

The authToken to set.

Returns
TypeDescription
ListTransferableSkusRequest.Builder

This builder for chaining.

setAuthTokenBytes(ByteString value)

public ListTransferableSkusRequest.Builder setAuthTokenBytes(ByteString value)

Optional. The super admin of the resold customer generates this token to authorize a reseller to access their Cloud Identity and purchase entitlements on their behalf. You can omit this token after authorization. See https://support.google.com/a/answer/7643790 for more details.

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

Parameter
NameDescription
valueByteString

The bytes for authToken to set.

Returns
TypeDescription
ListTransferableSkusRequest.Builder

This builder for chaining.

setCloudIdentityId(String value)

public ListTransferableSkusRequest.Builder setCloudIdentityId(String value)

Customer's Cloud Identity ID

string cloud_identity_id = 4;

Parameter
NameDescription
valueString

The cloudIdentityId to set.

Returns
TypeDescription
ListTransferableSkusRequest.Builder

This builder for chaining.

setCloudIdentityIdBytes(ByteString value)

public ListTransferableSkusRequest.Builder setCloudIdentityIdBytes(ByteString value)

Customer's Cloud Identity ID

string cloud_identity_id = 4;

Parameter
NameDescription
valueByteString

The bytes for cloudIdentityId to set.

Returns
TypeDescription
ListTransferableSkusRequest.Builder

This builder for chaining.

setCustomerName(String value)

public ListTransferableSkusRequest.Builder setCustomerName(String value)

A reseller is required to create a customer and use the resource name of the created customer here. Customer_name uses the format: accounts/{account_id}/customers/{customer_id}

string customer_name = 7;

Parameter
NameDescription
valueString

The customerName to set.

Returns
TypeDescription
ListTransferableSkusRequest.Builder

This builder for chaining.

setCustomerNameBytes(ByteString value)

public ListTransferableSkusRequest.Builder setCustomerNameBytes(ByteString value)

A reseller is required to create a customer and use the resource name of the created customer here. Customer_name uses the format: accounts/{account_id}/customers/{customer_id}

string customer_name = 7;

Parameter
NameDescription
valueByteString

The bytes for customerName to set.

Returns
TypeDescription
ListTransferableSkusRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ListTransferableSkusRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListTransferableSkusRequest.Builder
Overrides

setLanguageCode(String value)

public ListTransferableSkusRequest.Builder setLanguageCode(String value)

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". Optional.

string language_code = 6;

Parameter
NameDescription
valueString

The languageCode to set.

Returns
TypeDescription
ListTransferableSkusRequest.Builder

This builder for chaining.

setLanguageCodeBytes(ByteString value)

public ListTransferableSkusRequest.Builder setLanguageCodeBytes(ByteString value)

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". Optional.

string language_code = 6;

Parameter
NameDescription
valueByteString

The bytes for languageCode to set.

Returns
TypeDescription
ListTransferableSkusRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListTransferableSkusRequest.Builder setPageSize(int value)

The 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. Optional.

int32 page_size = 2;

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ListTransferableSkusRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListTransferableSkusRequest.Builder setPageToken(String value)

A token for a page of results other than the first page. Obtained using ListTransferableSkusResponse.next_page_token of the previous CloudChannelService.ListTransferableSkus call. Optional.

string page_token = 3;

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListTransferableSkusRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListTransferableSkusRequest.Builder setPageTokenBytes(ByteString value)

A token for a page of results other than the first page. Obtained using ListTransferableSkusResponse.next_page_token of the previous CloudChannelService.ListTransferableSkus call. Optional.

string page_token = 3;

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListTransferableSkusRequest.Builder

This builder for chaining.

setParent(String value)

public ListTransferableSkusRequest.Builder setParent(String value)

Required. The reseller account's resource name. Parent uses the format: accounts/{account_id}

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ListTransferableSkusRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListTransferableSkusRequest.Builder setParentBytes(ByteString value)

Required. The reseller account's resource name. Parent uses the format: accounts/{account_id}

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ListTransferableSkusRequest.Builder

This builder for chaining.

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

public ListTransferableSkusRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListTransferableSkusRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListTransferableSkusRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListTransferableSkusRequest.Builder
Overrides