Class ListCustomersResponse.Builder (3.5.1)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 3.5.1keyboard_arrow_down
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
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
Name
Description
values
Iterable <? extends com.google.cloud.channel.v1.Customer >
Returns
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
Returns
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
Returns
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
Returns
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
Returns
addCustomersBuilder()
public Customer . Builder addCustomersBuilder ()
The customers belonging to a reseller or distributor.
repeated .google.cloud.channel.v1.Customer customers = 1;
Returns
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
Name
Description
index
int
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListCustomersResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ListCustomersResponse build ()
Returns
buildPartial()
public ListCustomersResponse buildPartial ()
Returns
clear()
public ListCustomersResponse . Builder clear ()
Returns
Overrides
clearCustomers()
public ListCustomersResponse . Builder clearCustomers ()
The customers belonging to a reseller or distributor.
repeated .google.cloud.channel.v1.Customer customers = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListCustomersResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListCustomersResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public ListCustomersResponse . Builder clone ()
Returns
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
Name
Description
index
int
Returns
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
Name
Description
index
int
Returns
getCustomersBuilderList()
public List<Customer . Builder > getCustomersBuilderList ()
The customers belonging to a reseller or distributor.
repeated .google.cloud.channel.v1.Customer customers = 1;
Returns
getCustomersCount()
public int getCustomersCount ()
The customers belonging to a reseller or distributor.
repeated .google.cloud.channel.v1.Customer customers = 1;
Returns
getCustomersList()
public List<Customer> getCustomersList ()
The customers belonging to a reseller or distributor.
repeated .google.cloud.channel.v1.Customer customers = 1;
Returns
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
Name
Description
index
int
Returns
getCustomersOrBuilderList()
public List <? extends CustomerOrBuilder > getCustomersOrBuilderList ()
The customers belonging to a reseller or distributor.
repeated .google.cloud.channel.v1.Customer customers = 1;
Returns
Type
Description
List <? extends com.google.cloud.channel.v1.CustomerOrBuilder >
getDefaultInstanceForType()
public ListCustomersResponse getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
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
Type
Description
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
Type
Description
ByteString
The bytes for nextPageToken.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ListCustomersResponse other)
public ListCustomersResponse . Builder mergeFrom ( ListCustomersResponse other )
Parameter
Returns
public ListCustomersResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListCustomersResponse . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListCustomersResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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
Name
Description
index
int
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListCustomersResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
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
Name
Description
value
String
The nextPageToken to set.
Returns
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
Name
Description
value
ByteString
The bytes for nextPageToken to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListCustomersResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListCustomersResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-19 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-19 UTC."],[],[],null,[]]