Class ListSupportedDatabaseFlagsResponse.Builder (0.5.0)

public static final class ListSupportedDatabaseFlagsResponse.Builder extends GeneratedMessageV3.Builder<ListSupportedDatabaseFlagsResponse.Builder> implements ListSupportedDatabaseFlagsResponseOrBuilder

Message for response to listing SupportedDatabaseFlags.

Protobuf type google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllSupportedDatabaseFlags(Iterable<? extends SupportedDatabaseFlag> values)

public ListSupportedDatabaseFlagsResponse.Builder addAllSupportedDatabaseFlags(Iterable<? extends SupportedDatabaseFlag> values)

The list of SupportedDatabaseFlags.

repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.alloydb.v1.SupportedDatabaseFlag>
Returns
Type Description
ListSupportedDatabaseFlagsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListSupportedDatabaseFlagsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListSupportedDatabaseFlagsResponse.Builder
Overrides

addSupportedDatabaseFlags(SupportedDatabaseFlag value)

public ListSupportedDatabaseFlagsResponse.Builder addSupportedDatabaseFlags(SupportedDatabaseFlag value)

The list of SupportedDatabaseFlags.

repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1;

Parameter
Name Description
value SupportedDatabaseFlag
Returns
Type Description
ListSupportedDatabaseFlagsResponse.Builder

addSupportedDatabaseFlags(SupportedDatabaseFlag.Builder builderForValue)

public ListSupportedDatabaseFlagsResponse.Builder addSupportedDatabaseFlags(SupportedDatabaseFlag.Builder builderForValue)

The list of SupportedDatabaseFlags.

repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1;

Parameter
Name Description
builderForValue SupportedDatabaseFlag.Builder
Returns
Type Description
ListSupportedDatabaseFlagsResponse.Builder

addSupportedDatabaseFlags(int index, SupportedDatabaseFlag value)

public ListSupportedDatabaseFlagsResponse.Builder addSupportedDatabaseFlags(int index, SupportedDatabaseFlag value)

The list of SupportedDatabaseFlags.

repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1;

Parameters
Name Description
index int
value SupportedDatabaseFlag
Returns
Type Description
ListSupportedDatabaseFlagsResponse.Builder

addSupportedDatabaseFlags(int index, SupportedDatabaseFlag.Builder builderForValue)

public ListSupportedDatabaseFlagsResponse.Builder addSupportedDatabaseFlags(int index, SupportedDatabaseFlag.Builder builderForValue)

The list of SupportedDatabaseFlags.

repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1;

Parameters
Name Description
index int
builderForValue SupportedDatabaseFlag.Builder
Returns
Type Description
ListSupportedDatabaseFlagsResponse.Builder

addSupportedDatabaseFlagsBuilder()

public SupportedDatabaseFlag.Builder addSupportedDatabaseFlagsBuilder()

The list of SupportedDatabaseFlags.

repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1;

Returns
Type Description
SupportedDatabaseFlag.Builder

addSupportedDatabaseFlagsBuilder(int index)

public SupportedDatabaseFlag.Builder addSupportedDatabaseFlagsBuilder(int index)

The list of SupportedDatabaseFlags.

repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1;

Parameter
Name Description
index int
Returns
Type Description
SupportedDatabaseFlag.Builder

build()

public ListSupportedDatabaseFlagsResponse build()
Returns
Type Description
ListSupportedDatabaseFlagsResponse

buildPartial()

public ListSupportedDatabaseFlagsResponse buildPartial()
Returns
Type Description
ListSupportedDatabaseFlagsResponse

clear()

public ListSupportedDatabaseFlagsResponse.Builder clear()
Returns
Type Description
ListSupportedDatabaseFlagsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListSupportedDatabaseFlagsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListSupportedDatabaseFlagsResponse.Builder
Overrides

clearNextPageToken()

public ListSupportedDatabaseFlagsResponse.Builder clearNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ListSupportedDatabaseFlagsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListSupportedDatabaseFlagsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListSupportedDatabaseFlagsResponse.Builder
Overrides

clearSupportedDatabaseFlags()

public ListSupportedDatabaseFlagsResponse.Builder clearSupportedDatabaseFlags()

The list of SupportedDatabaseFlags.

repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1;

Returns
Type Description
ListSupportedDatabaseFlagsResponse.Builder

clone()

public ListSupportedDatabaseFlagsResponse.Builder clone()
Returns
Type Description
ListSupportedDatabaseFlagsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListSupportedDatabaseFlagsResponse getDefaultInstanceForType()
Returns
Type Description
ListSupportedDatabaseFlagsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getSupportedDatabaseFlags(int index)

public SupportedDatabaseFlag getSupportedDatabaseFlags(int index)

The list of SupportedDatabaseFlags.

repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1;

Parameter
Name Description
index int
Returns
Type Description
SupportedDatabaseFlag

getSupportedDatabaseFlagsBuilder(int index)

public SupportedDatabaseFlag.Builder getSupportedDatabaseFlagsBuilder(int index)

The list of SupportedDatabaseFlags.

repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1;

Parameter
Name Description
index int
Returns
Type Description
SupportedDatabaseFlag.Builder

getSupportedDatabaseFlagsBuilderList()

public List<SupportedDatabaseFlag.Builder> getSupportedDatabaseFlagsBuilderList()

The list of SupportedDatabaseFlags.

repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1;

Returns
Type Description
List<Builder>

getSupportedDatabaseFlagsCount()

public int getSupportedDatabaseFlagsCount()

The list of SupportedDatabaseFlags.

repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1;

Returns
Type Description
int

getSupportedDatabaseFlagsList()

public List<SupportedDatabaseFlag> getSupportedDatabaseFlagsList()

The list of SupportedDatabaseFlags.

repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1;

Returns
Type Description
List<SupportedDatabaseFlag>

getSupportedDatabaseFlagsOrBuilder(int index)

public SupportedDatabaseFlagOrBuilder getSupportedDatabaseFlagsOrBuilder(int index)

The list of SupportedDatabaseFlags.

repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1;

Parameter
Name Description
index int
Returns
Type Description
SupportedDatabaseFlagOrBuilder

getSupportedDatabaseFlagsOrBuilderList()

public List<? extends SupportedDatabaseFlagOrBuilder> getSupportedDatabaseFlagsOrBuilderList()

The list of SupportedDatabaseFlags.

repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1;

Returns
Type Description
List<? extends com.google.cloud.alloydb.v1.SupportedDatabaseFlagOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListSupportedDatabaseFlagsResponse other)

public ListSupportedDatabaseFlagsResponse.Builder mergeFrom(ListSupportedDatabaseFlagsResponse other)
Parameter
Name Description
other ListSupportedDatabaseFlagsResponse
Returns
Type Description
ListSupportedDatabaseFlagsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListSupportedDatabaseFlagsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListSupportedDatabaseFlagsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListSupportedDatabaseFlagsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListSupportedDatabaseFlagsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSupportedDatabaseFlagsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListSupportedDatabaseFlagsResponse.Builder
Overrides

removeSupportedDatabaseFlags(int index)

public ListSupportedDatabaseFlagsResponse.Builder removeSupportedDatabaseFlags(int index)

The list of SupportedDatabaseFlags.

repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1;

Parameter
Name Description
index int
Returns
Type Description
ListSupportedDatabaseFlagsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListSupportedDatabaseFlagsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListSupportedDatabaseFlagsResponse.Builder
Overrides

setNextPageToken(String value)

public ListSupportedDatabaseFlagsResponse.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
ListSupportedDatabaseFlagsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListSupportedDatabaseFlagsResponse.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
ListSupportedDatabaseFlagsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListSupportedDatabaseFlagsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListSupportedDatabaseFlagsResponse.Builder
Overrides

setSupportedDatabaseFlags(int index, SupportedDatabaseFlag value)

public ListSupportedDatabaseFlagsResponse.Builder setSupportedDatabaseFlags(int index, SupportedDatabaseFlag value)

The list of SupportedDatabaseFlags.

repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1;

Parameters
Name Description
index int
value SupportedDatabaseFlag
Returns
Type Description
ListSupportedDatabaseFlagsResponse.Builder

setSupportedDatabaseFlags(int index, SupportedDatabaseFlag.Builder builderForValue)

public ListSupportedDatabaseFlagsResponse.Builder setSupportedDatabaseFlags(int index, SupportedDatabaseFlag.Builder builderForValue)

The list of SupportedDatabaseFlags.

repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1;

Parameters
Name Description
index int
builderForValue SupportedDatabaseFlag.Builder
Returns
Type Description
ListSupportedDatabaseFlagsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListSupportedDatabaseFlagsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListSupportedDatabaseFlagsResponse.Builder
Overrides