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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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
|
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;
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;
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;
addCustomersBuilder()
public Customer.Builder addCustomersBuilder()
The customers belonging to a reseller or distributor.
repeated .google.cloud.channel.v1.Customer customers = 1;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListCustomersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListCustomersResponse build()
buildPartial()
public ListCustomersResponse buildPartial()
clear()
public ListCustomersResponse.Builder clear()
Overrides
clearCustomers()
public ListCustomersResponse.Builder clearCustomers()
The customers belonging to a reseller or distributor.
repeated .google.cloud.channel.v1.Customer customers = 1;
clearField(Descriptors.FieldDescriptor field)
public ListCustomersResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListCustomersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListCustomersResponse.Builder clone()
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
|
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
|
getCustomersBuilderList()
public List<Customer.Builder> getCustomersBuilderList()
The customers belonging to a reseller or distributor.
repeated .google.cloud.channel.v1.Customer customers = 1;
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;
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListCustomersResponse other)
public ListCustomersResponse.Builder mergeFrom(ListCustomersResponse other)
public ListCustomersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListCustomersResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListCustomersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListCustomersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListCustomersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListCustomersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides