Class ListTransferableSkusRequest.Builder (3.51.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListTransferableSkusRequest build()
Returns
Type Description
ListTransferableSkusRequest

buildPartial()

public ListTransferableSkusRequest buildPartial()
Returns
Type Description
ListTransferableSkusRequest

clear()

public ListTransferableSkusRequest.Builder clear()
Returns
Type Description
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
Type Description
ListTransferableSkusRequest.Builder

This builder for chaining.

clearCloudIdentityId()

public ListTransferableSkusRequest.Builder clearCloudIdentityId()

Customer's Cloud Identity ID

string cloud_identity_id = 4;

Returns
Type Description
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
Type Description
ListTransferableSkusRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ListTransferableSkusRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
ListTransferableSkusRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListTransferableSkusRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
ListTransferableSkusRequest.Builder

This builder for chaining.

clearTransferredCustomerIdentity()

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

clone()

public ListTransferableSkusRequest.Builder clone()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for authToken.

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 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
Type Description
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
Type Description
ByteString

The bytes for customerName.

getDefaultInstanceForType()

public ListTransferableSkusRequest getDefaultInstanceForType()
Returns
Type Description
ListTransferableSkusRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for parent.

getTransferredCustomerIdentityCase()

public ListTransferableSkusRequest.TransferredCustomerIdentityCase getTransferredCustomerIdentityCase()
Returns
Type Description
ListTransferableSkusRequest.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 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
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(ListTransferableSkusRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTransferableSkusRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The authToken to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for authToken to set.

Returns
Type Description
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
Name Description
value String

The cloudIdentityId to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for cloudIdentityId to set.

Returns
Type Description
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
Name Description
value String

The customerName to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for customerName to set.

Returns
Type Description
ListTransferableSkusRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ListTransferableSkusRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The languageCode to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for languageCode to set.

Returns
Type Description
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
Name Description
value int

The pageSize to set.

Returns
Type Description
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
Name Description
value String

The pageToken to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
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
Name Description
value String

The parent to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListTransferableSkusRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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