public static final class ListDatabasesResponse.Builder extends GeneratedMessageV3.Builder<ListDatabasesResponse.Builder> implements ListDatabasesResponseOrBuilder
Message for response to listing Databases.
Protobuf type google.cloud.alloydb.v1beta.ListDatabasesResponse
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
addAllDatabases(Iterable<? extends Database> values)
public ListDatabasesResponse.Builder addAllDatabases(Iterable<? extends Database> values)
The list of databases
repeated .google.cloud.alloydb.v1beta.Database databases = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.alloydb.v1beta.Database>
|
addDatabases(Database value)
public ListDatabasesResponse.Builder addDatabases(Database value)
The list of databases
repeated .google.cloud.alloydb.v1beta.Database databases = 1;
Parameter |
Name |
Description |
value |
Database
|
addDatabases(Database.Builder builderForValue)
public ListDatabasesResponse.Builder addDatabases(Database.Builder builderForValue)
The list of databases
repeated .google.cloud.alloydb.v1beta.Database databases = 1;
addDatabases(int index, Database value)
public ListDatabasesResponse.Builder addDatabases(int index, Database value)
The list of databases
repeated .google.cloud.alloydb.v1beta.Database databases = 1;
addDatabases(int index, Database.Builder builderForValue)
public ListDatabasesResponse.Builder addDatabases(int index, Database.Builder builderForValue)
The list of databases
repeated .google.cloud.alloydb.v1beta.Database databases = 1;
addDatabasesBuilder()
public Database.Builder addDatabasesBuilder()
The list of databases
repeated .google.cloud.alloydb.v1beta.Database databases = 1;
addDatabasesBuilder(int index)
public Database.Builder addDatabasesBuilder(int index)
The list of databases
repeated .google.cloud.alloydb.v1beta.Database databases = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDatabasesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListDatabasesResponse build()
buildPartial()
public ListDatabasesResponse buildPartial()
clear()
public ListDatabasesResponse.Builder clear()
Overrides
clearDatabases()
public ListDatabasesResponse.Builder clearDatabases()
The list of databases
repeated .google.cloud.alloydb.v1beta.Database databases = 1;
clearField(Descriptors.FieldDescriptor field)
public ListDatabasesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListDatabasesResponse.Builder clearNextPageToken()
A token identifying the next page of results the server should return.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDatabasesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListDatabasesResponse.Builder clone()
Overrides
getDatabases(int index)
public Database getDatabases(int index)
The list of databases
repeated .google.cloud.alloydb.v1beta.Database databases = 1;
Parameter |
Name |
Description |
index |
int
|
getDatabasesBuilder(int index)
public Database.Builder getDatabasesBuilder(int index)
The list of databases
repeated .google.cloud.alloydb.v1beta.Database databases = 1;
Parameter |
Name |
Description |
index |
int
|
getDatabasesBuilderList()
public List<Database.Builder> getDatabasesBuilderList()
The list of databases
repeated .google.cloud.alloydb.v1beta.Database databases = 1;
getDatabasesCount()
public int getDatabasesCount()
The list of databases
repeated .google.cloud.alloydb.v1beta.Database databases = 1;
Returns |
Type |
Description |
int |
|
getDatabasesList()
public List<Database> getDatabasesList()
The list of databases
repeated .google.cloud.alloydb.v1beta.Database databases = 1;
getDatabasesOrBuilder(int index)
public DatabaseOrBuilder getDatabasesOrBuilder(int index)
The list of databases
repeated .google.cloud.alloydb.v1beta.Database databases = 1;
Parameter |
Name |
Description |
index |
int
|
getDatabasesOrBuilderList()
public List<? extends DatabaseOrBuilder> getDatabasesOrBuilderList()
The list of databases
repeated .google.cloud.alloydb.v1beta.Database databases = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.alloydb.v1beta.DatabaseOrBuilder> |
|
getDefaultInstanceForType()
public ListDatabasesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
A token identifying the next page of results the server should return.
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 identifying the next page of results the server should return.
If this field is omitted, there are no subsequent pages.
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(ListDatabasesResponse other)
public ListDatabasesResponse.Builder mergeFrom(ListDatabasesResponse other)
public ListDatabasesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListDatabasesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDatabasesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeDatabases(int index)
public ListDatabasesResponse.Builder removeDatabases(int index)
The list of databases
repeated .google.cloud.alloydb.v1beta.Database databases = 1;
Parameter |
Name |
Description |
index |
int
|
setDatabases(int index, Database value)
public ListDatabasesResponse.Builder setDatabases(int index, Database value)
The list of databases
repeated .google.cloud.alloydb.v1beta.Database databases = 1;
setDatabases(int index, Database.Builder builderForValue)
public ListDatabasesResponse.Builder setDatabases(int index, Database.Builder builderForValue)
The list of databases
repeated .google.cloud.alloydb.v1beta.Database databases = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ListDatabasesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListDatabasesResponse.Builder setNextPageToken(String value)
A token identifying the next page of results the server should return.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListDatabasesResponse.Builder setNextPageTokenBytes(ByteString value)
A token identifying the next page of results the server should return.
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListDatabasesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDatabasesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides