Class ListTransferableOffersRequest.Builder (3.5.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListTransferableOffersRequest build()
Returns
TypeDescription
ListTransferableOffersRequest

buildPartial()

public ListTransferableOffersRequest buildPartial()
Returns
TypeDescription
ListTransferableOffersRequest

clear()

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

clearCloudIdentityId()

public ListTransferableOffersRequest.Builder clearCloudIdentityId()

Customer's Cloud Identity ID

string cloud_identity_id = 4;

Returns
TypeDescription
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
TypeDescription
ListTransferableOffersRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLanguageCode()

public ListTransferableOffersRequest.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".

string language_code = 7;

Returns
TypeDescription
ListTransferableOffersRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListTransferableOffersRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ListTransferableOffersRequest.Builder

This builder for chaining.

clearTransferredCustomerIdentity()

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

clone()

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

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 should create a customer and use the resource name of that customer here.

string customer_name = 5;

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for customerName.

getDefaultInstanceForType()

public ListTransferableOffersRequest getDefaultInstanceForType()
Returns
TypeDescription
ListTransferableOffersRequest

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

string language_code = 7;

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

string language_code = 7;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The sku.

getSkuBytes()

public ByteString getSkuBytes()

Required. The SKU to look up Offers for.

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

Returns
TypeDescription
ByteString

The bytes for sku.

getTransferredCustomerIdentityCase()

public ListTransferableOffersRequest.TransferredCustomerIdentityCase getTransferredCustomerIdentityCase()
Returns
TypeDescription
ListTransferableOffersRequest.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 should create a customer and use the resource name of that customer here.

string customer_name = 5;

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(ListTransferableOffersRequest other)

public ListTransferableOffersRequest.Builder mergeFrom(ListTransferableOffersRequest other)
Parameter
NameDescription
otherListTransferableOffersRequest
Returns
TypeDescription
ListTransferableOffersRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCloudIdentityId(String value)

public ListTransferableOffersRequest.Builder setCloudIdentityId(String value)

Customer's Cloud Identity ID

string cloud_identity_id = 4;

Parameter
NameDescription
valueString

The cloudIdentityId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for cloudIdentityId to set.

Returns
TypeDescription
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
NameDescription
valueString

The customerName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for customerName to set.

Returns
TypeDescription
ListTransferableOffersRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setLanguageCode(String value)

public ListTransferableOffersRequest.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".

string language_code = 7;

Parameter
NameDescription
valueString

The languageCode to set.

Returns
TypeDescription
ListTransferableOffersRequest.Builder

This builder for chaining.

setLanguageCodeBytes(ByteString value)

public ListTransferableOffersRequest.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".

string language_code = 7;

Parameter
NameDescription
valueByteString

The bytes for languageCode to set.

Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The sku to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for sku to set.

Returns
TypeDescription
ListTransferableOffersRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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