public static final class ListCustomersResponse.Builder extends GeneratedMessage.Builder<ListCustomersResponse.Builder> implements ListCustomersResponseOrBuilderResponse message for CloudChannelService.ListCustomers.
Protobuf type google.cloud.channel.v1.ListCustomersResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListCustomersResponse.BuilderImplements
ListCustomersResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.channel.v1.Customer> |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
Customer |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
builderForValue |
Customer.Builder |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
int |
value |
Customer |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Customer.Builder |
| Returns | |
|---|---|
| Type | Description |
ListCustomersResponse.Builder |
|
addCustomersBuilder()
public Customer.Builder addCustomersBuilder()The customers belonging to a reseller or distributor.
repeated .google.cloud.channel.v1.Customer customers = 1;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Customer.Builder |
|
build()
public ListCustomersResponse build()| Returns | |
|---|---|
| Type | Description |
ListCustomersResponse |
|
buildPartial()
public ListCustomersResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListCustomersResponse |
|
clear()
public ListCustomersResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListCustomersResponse.Builder |
|
clearCustomers()
public ListCustomersResponse.Builder clearCustomers()The customers belonging to a reseller or distributor.
repeated .google.cloud.channel.v1.Customer customers = 1;
| Returns | |
|---|---|
| Type | Description |
ListCustomersResponse.Builder |
|
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 | |
|---|---|
| Type | Description |
ListCustomersResponse.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
List<Builder> |
|
getCustomersCount()
public int getCustomersCount()The customers belonging to a reseller or distributor.
repeated .google.cloud.channel.v1.Customer customers = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getCustomersList()
public List<Customer> getCustomersList()The customers belonging to a reseller or distributor.
repeated .google.cloud.channel.v1.Customer customers = 1;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CustomerOrBuilder |
|
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 | |
|---|---|
| Type | Description |
ListCustomersResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListCustomersResponse other)
public ListCustomersResponse.Builder mergeFrom(ListCustomersResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListCustomersResponse |
| Returns | |
|---|---|
| Type | Description |
ListCustomersResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListCustomersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListCustomersResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListCustomersResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListCustomersResponse.Builder |
|
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
int |
value |
Customer |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Customer.Builder |
| Returns | |
|---|---|
| Type | Description |
ListCustomersResponse.Builder |
|
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 |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListCustomersResponse.Builder |
This builder for chaining. |