Class ListCustomersResponse.Builder (3.13.0)

public static final class ListCustomersResponse.Builder extends GeneratedMessageV3.Builder<ListCustomersResponse.Builder> implements ListCustomersResponseOrBuilder

Response message for CloudChannelService.ListCustomers.

Protobuf type google.cloud.channel.v1.ListCustomersResponse

Static Methods

getDescriptor()

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

Methods

addAllCustomers(Iterable<? extends Customer> values)

public ListCustomersResponse.Builder addAllCustomers(Iterable<? extends Customer> values)

The customers belonging to a reseller or distributor.

repeated .google.cloud.channel.v1.Customer customers = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.channel.v1.Customer>
Returns
TypeDescription
ListCustomersResponse.Builder

addCustomers(Customer value)

public ListCustomersResponse.Builder addCustomers(Customer value)

The customers belonging to a reseller or distributor.

repeated .google.cloud.channel.v1.Customer customers = 1;

Parameter
NameDescription
valueCustomer
Returns
TypeDescription
ListCustomersResponse.Builder

addCustomers(Customer.Builder builderForValue)

public ListCustomersResponse.Builder addCustomers(Customer.Builder builderForValue)

The customers belonging to a reseller or distributor.

repeated .google.cloud.channel.v1.Customer customers = 1;

Parameter
NameDescription
builderForValueCustomer.Builder
Returns
TypeDescription
ListCustomersResponse.Builder

addCustomers(int index, Customer value)

public ListCustomersResponse.Builder addCustomers(int index, Customer value)

The customers belonging to a reseller or distributor.

repeated .google.cloud.channel.v1.Customer customers = 1;

Parameters
NameDescription
indexint
valueCustomer
Returns
TypeDescription
ListCustomersResponse.Builder

addCustomers(int index, Customer.Builder builderForValue)

public ListCustomersResponse.Builder addCustomers(int index, Customer.Builder builderForValue)

The customers belonging to a reseller or distributor.

repeated .google.cloud.channel.v1.Customer customers = 1;

Parameters
NameDescription
indexint
builderForValueCustomer.Builder
Returns
TypeDescription
ListCustomersResponse.Builder

addCustomersBuilder()

public Customer.Builder addCustomersBuilder()

The customers belonging to a reseller or distributor.

repeated .google.cloud.channel.v1.Customer customers = 1;

Returns
TypeDescription
Customer.Builder

addCustomersBuilder(int index)

public Customer.Builder addCustomersBuilder(int index)

The customers belonging to a reseller or distributor.

repeated .google.cloud.channel.v1.Customer customers = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Customer.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListCustomersResponse build()
Returns
TypeDescription
ListCustomersResponse

buildPartial()

public ListCustomersResponse buildPartial()
Returns
TypeDescription
ListCustomersResponse

clear()

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

clearCustomers()

public ListCustomersResponse.Builder clearCustomers()

The customers belonging to a reseller or distributor.

repeated .google.cloud.channel.v1.Customer customers = 1;

Returns
TypeDescription
ListCustomersResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListCustomersResponse.Builder clearNextPageToken()

A token to retrieve the next page of results. Pass to ListCustomersRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
TypeDescription
ListCustomersResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCustomers(int index)

public Customer getCustomers(int index)

The customers belonging to a reseller or distributor.

repeated .google.cloud.channel.v1.Customer customers = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Customer

getCustomersBuilder(int index)

public Customer.Builder getCustomersBuilder(int index)

The customers belonging to a reseller or distributor.

repeated .google.cloud.channel.v1.Customer customers = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Customer.Builder

getCustomersBuilderList()

public List<Customer.Builder> getCustomersBuilderList()

The customers belonging to a reseller or distributor.

repeated .google.cloud.channel.v1.Customer customers = 1;

Returns
TypeDescription
List<Builder>

getCustomersCount()

public int getCustomersCount()

The customers belonging to a reseller or distributor.

repeated .google.cloud.channel.v1.Customer customers = 1;

Returns
TypeDescription
int

getCustomersList()

public List<Customer> getCustomersList()

The customers belonging to a reseller or distributor.

repeated .google.cloud.channel.v1.Customer customers = 1;

Returns
TypeDescription
List<Customer>

getCustomersOrBuilder(int index)

public CustomerOrBuilder getCustomersOrBuilder(int index)

The customers belonging to a reseller or distributor.

repeated .google.cloud.channel.v1.Customer customers = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomerOrBuilder

getCustomersOrBuilderList()

public List<? extends CustomerOrBuilder> getCustomersOrBuilderList()

The customers belonging to a reseller or distributor.

repeated .google.cloud.channel.v1.Customer customers = 1;

Returns
TypeDescription
List<? extends com.google.cloud.channel.v1.CustomerOrBuilder>

getDefaultInstanceForType()

public ListCustomersResponse getDefaultInstanceForType()
Returns
TypeDescription
ListCustomersResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results. Pass to ListCustomersRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve the next page of results. Pass to ListCustomersRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListCustomersResponse other)

public ListCustomersResponse.Builder mergeFrom(ListCustomersResponse other)
Parameter
NameDescription
otherListCustomersResponse
Returns
TypeDescription
ListCustomersResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCustomers(int index)

public ListCustomersResponse.Builder removeCustomers(int index)

The customers belonging to a reseller or distributor.

repeated .google.cloud.channel.v1.Customer customers = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListCustomersResponse.Builder

setCustomers(int index, Customer value)

public ListCustomersResponse.Builder setCustomers(int index, Customer value)

The customers belonging to a reseller or distributor.

repeated .google.cloud.channel.v1.Customer customers = 1;

Parameters
NameDescription
indexint
valueCustomer
Returns
TypeDescription
ListCustomersResponse.Builder

setCustomers(int index, Customer.Builder builderForValue)

public ListCustomersResponse.Builder setCustomers(int index, Customer.Builder builderForValue)

The customers belonging to a reseller or distributor.

repeated .google.cloud.channel.v1.Customer customers = 1;

Parameters
NameDescription
indexint
builderForValueCustomer.Builder
Returns
TypeDescription
ListCustomersResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListCustomersResponse.Builder setNextPageToken(String value)

A token to retrieve the next page of results. Pass to ListCustomersRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListCustomersResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListCustomersResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve the next page of results. Pass to ListCustomersRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListCustomersResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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