public static final class ListCustomersResponse.Builder extends GeneratedMessageV3.Builder<ListCustomersResponse.Builder> implements ListCustomersResponseOrBuilder
Response message for list customer Customers requests
Protobuf type google.cloud.cloudcontrolspartner.v1.ListCustomersResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.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)
List of customers
repeated .google.cloud.cloudcontrolspartner.v1.Customer customers = 1;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.cloudcontrolspartner.v1.Customer> |
Returns | |
---|---|
Type | Description |
ListCustomersResponse.Builder |
addAllUnreachable(Iterable<String> values)
public ListCustomersResponse.Builder addAllUnreachable(Iterable<String> values)
Locations that could not be reached.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The unreachable to add. |
Returns | |
---|---|
Type | Description |
ListCustomersResponse.Builder | This builder for chaining. |
addCustomers(Customer value)
public ListCustomersResponse.Builder addCustomers(Customer value)
List of customers
repeated .google.cloud.cloudcontrolspartner.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)
List of customers
repeated .google.cloud.cloudcontrolspartner.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)
List of customers
repeated .google.cloud.cloudcontrolspartner.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)
List of customers
repeated .google.cloud.cloudcontrolspartner.v1.Customer customers = 1;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Customer.Builder |
Returns | |
---|---|
Type | Description |
ListCustomersResponse.Builder |
addCustomersBuilder()
public Customer.Builder addCustomersBuilder()
List of customers
repeated .google.cloud.cloudcontrolspartner.v1.Customer customers = 1;
Returns | |
---|---|
Type | Description |
Customer.Builder |
addCustomersBuilder(int index)
public Customer.Builder addCustomersBuilder(int index)
List of customers
repeated .google.cloud.cloudcontrolspartner.v1.Customer customers = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Customer.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListCustomersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListCustomersResponse.Builder |
addUnreachable(String value)
public ListCustomersResponse.Builder addUnreachable(String value)
Locations that could not be reached.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
value | String The unreachable to add. |
Returns | |
---|---|
Type | Description |
ListCustomersResponse.Builder | This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListCustomersResponse.Builder addUnreachableBytes(ByteString value)
Locations that could not be reached.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the unreachable to add. |
Returns | |
---|---|
Type | Description |
ListCustomersResponse.Builder | This builder for chaining. |
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()
List of customers
repeated .google.cloud.cloudcontrolspartner.v1.Customer customers = 1;
Returns | |
---|---|
Type | Description |
ListCustomersResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListCustomersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListCustomersResponse.Builder |
clearNextPageToken()
public ListCustomersResponse.Builder clearNextPageToken()
A token that can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
ListCustomersResponse.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListCustomersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListCustomersResponse.Builder |
clearUnreachable()
public ListCustomersResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ListCustomersResponse.Builder | This builder for chaining. |
clone()
public ListCustomersResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListCustomersResponse.Builder |
getCustomers(int index)
public Customer getCustomers(int index)
List of customers
repeated .google.cloud.cloudcontrolspartner.v1.Customer customers = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Customer |
getCustomersBuilder(int index)
public Customer.Builder getCustomersBuilder(int index)
List of customers
repeated .google.cloud.cloudcontrolspartner.v1.Customer customers = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Customer.Builder |
getCustomersBuilderList()
public List<Customer.Builder> getCustomersBuilderList()
List of customers
repeated .google.cloud.cloudcontrolspartner.v1.Customer customers = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
getCustomersCount()
public int getCustomersCount()
List of customers
repeated .google.cloud.cloudcontrolspartner.v1.Customer customers = 1;
Returns | |
---|---|
Type | Description |
int |
getCustomersList()
public List<Customer> getCustomersList()
List of customers
repeated .google.cloud.cloudcontrolspartner.v1.Customer customers = 1;
Returns | |
---|---|
Type | Description |
List<Customer> |
getCustomersOrBuilder(int index)
public CustomerOrBuilder getCustomersOrBuilder(int index)
List of customers
repeated .google.cloud.cloudcontrolspartner.v1.Customer customers = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
CustomerOrBuilder |
getCustomersOrBuilderList()
public List<? extends CustomerOrBuilder> getCustomersOrBuilderList()
List of customers
repeated .google.cloud.cloudcontrolspartner.v1.Customer customers = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.cloudcontrolspartner.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 that can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
String | The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token that can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for nextPageToken. |
getUnreachable(int index)
public String getUnreachable(int index)
Locations that could not be reached.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The unreachable at the given index. |
getUnreachableBytes(int index)
public ByteString getUnreachableBytes(int index)
Locations that could not be reached.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the unreachable at the given index. |
getUnreachableCount()
public int getUnreachableCount()
Locations that could not be reached.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
int | The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()
Locations that could not be reached.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListCustomersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListCustomersResponse.Builder |
removeCustomers(int index)
public ListCustomersResponse.Builder removeCustomers(int index)
List of customers
repeated .google.cloud.cloudcontrolspartner.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)
List of customers
repeated .google.cloud.cloudcontrolspartner.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)
List of customers
repeated .google.cloud.cloudcontrolspartner.v1.Customer customers = 1;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Customer.Builder |
Returns | |
---|---|
Type | Description |
ListCustomersResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListCustomersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListCustomersResponse.Builder |
setNextPageToken(String value)
public ListCustomersResponse.Builder setNextPageToken(String value)
A token that can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Parameter | |
---|---|
Name | Description |
value | String The nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListCustomersResponse.Builder | This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListCustomersResponse.Builder setNextPageTokenBytes(ByteString value)
A token that can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for nextPageToken to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ListCustomersResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListCustomersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListCustomersResponse.Builder |
setUnreachable(int index, String value)
public ListCustomersResponse.Builder setUnreachable(int index, String value)
Locations that could not be reached.
repeated string unreachable = 3;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The unreachable to set. |
Returns | |
---|---|
Type | Description |
ListCustomersResponse.Builder | This builder for chaining. |