public static final class ListUsersResponse.Builder extends GeneratedMessageV3.Builder<ListUsersResponse.Builder> implements ListUsersResponseOrBuilder
Message for response to listing Users
Protobuf type google.cloud.alloydb.v1.ListUsersResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListUsersResponse.BuilderImplements
ListUsersResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllUnreachable(Iterable<String> values)
public ListUsersResponse.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 |
ListUsersResponse.Builder |
This builder for chaining. |
addAllUsers(Iterable<? extends User> values)
public ListUsersResponse.Builder addAllUsers(Iterable<? extends User> values)
The list of User
repeated .google.cloud.alloydb.v1.User users = 1;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.alloydb.v1.User> |
Returns | |
---|---|
Type | Description |
ListUsersResponse.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListUsersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListUsersResponse.Builder |
addUnreachable(String value)
public ListUsersResponse.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 |
ListUsersResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListUsersResponse.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 |
ListUsersResponse.Builder |
This builder for chaining. |
addUsers(User value)
public ListUsersResponse.Builder addUsers(User value)
The list of User
repeated .google.cloud.alloydb.v1.User users = 1;
Parameter | |
---|---|
Name | Description |
value |
User |
Returns | |
---|---|
Type | Description |
ListUsersResponse.Builder |
addUsers(User.Builder builderForValue)
public ListUsersResponse.Builder addUsers(User.Builder builderForValue)
The list of User
repeated .google.cloud.alloydb.v1.User users = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
User.Builder |
Returns | |
---|---|
Type | Description |
ListUsersResponse.Builder |
addUsers(int index, User value)
public ListUsersResponse.Builder addUsers(int index, User value)
The list of User
repeated .google.cloud.alloydb.v1.User users = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
User |
Returns | |
---|---|
Type | Description |
ListUsersResponse.Builder |
addUsers(int index, User.Builder builderForValue)
public ListUsersResponse.Builder addUsers(int index, User.Builder builderForValue)
The list of User
repeated .google.cloud.alloydb.v1.User users = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
User.Builder |
Returns | |
---|---|
Type | Description |
ListUsersResponse.Builder |
addUsersBuilder()
public User.Builder addUsersBuilder()
The list of User
repeated .google.cloud.alloydb.v1.User users = 1;
Returns | |
---|---|
Type | Description |
User.Builder |
addUsersBuilder(int index)
public User.Builder addUsersBuilder(int index)
The list of User
repeated .google.cloud.alloydb.v1.User users = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
User.Builder |
build()
public ListUsersResponse build()
Returns | |
---|---|
Type | Description |
ListUsersResponse |
buildPartial()
public ListUsersResponse buildPartial()
Returns | |
---|---|
Type | Description |
ListUsersResponse |
clear()
public ListUsersResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ListUsersResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListUsersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListUsersResponse.Builder |
clearNextPageToken()
public ListUsersResponse.Builder clearNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
ListUsersResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListUsersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListUsersResponse.Builder |
clearUnreachable()
public ListUsersResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ListUsersResponse.Builder |
This builder for chaining. |
clearUsers()
public ListUsersResponse.Builder clearUsers()
The list of User
repeated .google.cloud.alloydb.v1.User users = 1;
Returns | |
---|---|
Type | Description |
ListUsersResponse.Builder |
clone()
public ListUsersResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListUsersResponse.Builder |
getDefaultInstanceForType()
public ListUsersResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListUsersResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getNextPageToken()
public String getNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token identifying a page of results the server should return.
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. |
getUsers(int index)
public User getUsers(int index)
The list of User
repeated .google.cloud.alloydb.v1.User users = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
User |
getUsersBuilder(int index)
public User.Builder getUsersBuilder(int index)
The list of User
repeated .google.cloud.alloydb.v1.User users = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
User.Builder |
getUsersBuilderList()
public List<User.Builder> getUsersBuilderList()
The list of User
repeated .google.cloud.alloydb.v1.User users = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
getUsersCount()
public int getUsersCount()
The list of User
repeated .google.cloud.alloydb.v1.User users = 1;
Returns | |
---|---|
Type | Description |
int |
getUsersList()
public List<User> getUsersList()
The list of User
repeated .google.cloud.alloydb.v1.User users = 1;
Returns | |
---|---|
Type | Description |
List<User> |
getUsersOrBuilder(int index)
public UserOrBuilder getUsersOrBuilder(int index)
The list of User
repeated .google.cloud.alloydb.v1.User users = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
UserOrBuilder |
getUsersOrBuilderList()
public List<? extends UserOrBuilder> getUsersOrBuilderList()
The list of User
repeated .google.cloud.alloydb.v1.User users = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.alloydb.v1.UserOrBuilder> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListUsersResponse other)
public ListUsersResponse.Builder mergeFrom(ListUsersResponse other)
Parameter | |
---|---|
Name | Description |
other |
ListUsersResponse |
Returns | |
---|---|
Type | Description |
ListUsersResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListUsersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListUsersResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListUsersResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ListUsersResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListUsersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListUsersResponse.Builder |
removeUsers(int index)
public ListUsersResponse.Builder removeUsers(int index)
The list of User
repeated .google.cloud.alloydb.v1.User users = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ListUsersResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListUsersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListUsersResponse.Builder |
setNextPageToken(String value)
public ListUsersResponse.Builder setNextPageToken(String value)
A token identifying a page of results the server should return.
string next_page_token = 2;
Parameter | |
---|---|
Name | Description |
value |
String The nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListUsersResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListUsersResponse.Builder setNextPageTokenBytes(ByteString value)
A token identifying a page of results the server should return.
string next_page_token = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListUsersResponse.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListUsersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ListUsersResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListUsersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListUsersResponse.Builder |
setUnreachable(int index, String value)
public ListUsersResponse.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 |
ListUsersResponse.Builder |
This builder for chaining. |
setUsers(int index, User value)
public ListUsersResponse.Builder setUsers(int index, User value)
The list of User
repeated .google.cloud.alloydb.v1.User users = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
User |
Returns | |
---|---|
Type | Description |
ListUsersResponse.Builder |
setUsers(int index, User.Builder builderForValue)
public ListUsersResponse.Builder setUsers(int index, User.Builder builderForValue)
The list of User
repeated .google.cloud.alloydb.v1.User users = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
User.Builder |
Returns | |
---|---|
Type | Description |
ListUsersResponse.Builder |