Class ListSupportedDatabaseFlagsResponse.Builder (0.30.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.v1beta.ListSupportedDatabaseFlagsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllSupportedDatabaseFlags(Iterable<? extends SupportedDatabaseFlag> values)

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

The list of SupportedDatabaseFlags.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag>
Returns
TypeDescription
ListSupportedDatabaseFlagsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListSupportedDatabaseFlagsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListSupportedDatabaseFlagsResponse.Builder
Overrides

addSupportedDatabaseFlags(SupportedDatabaseFlag value)

public ListSupportedDatabaseFlagsResponse.Builder addSupportedDatabaseFlags(SupportedDatabaseFlag value)

The list of SupportedDatabaseFlags.

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

Parameter
NameDescription
valueSupportedDatabaseFlag
Returns
TypeDescription
ListSupportedDatabaseFlagsResponse.Builder

addSupportedDatabaseFlags(SupportedDatabaseFlag.Builder builderForValue)

public ListSupportedDatabaseFlagsResponse.Builder addSupportedDatabaseFlags(SupportedDatabaseFlag.Builder builderForValue)

The list of SupportedDatabaseFlags.

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

Parameter
NameDescription
builderForValueSupportedDatabaseFlag.Builder
Returns
TypeDescription
ListSupportedDatabaseFlagsResponse.Builder

addSupportedDatabaseFlags(int index, SupportedDatabaseFlag value)

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

The list of SupportedDatabaseFlags.

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

Parameters
NameDescription
indexint
valueSupportedDatabaseFlag
Returns
TypeDescription
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.v1beta.SupportedDatabaseFlag supported_database_flags = 1;

Parameters
NameDescription
indexint
builderForValueSupportedDatabaseFlag.Builder
Returns
TypeDescription
ListSupportedDatabaseFlagsResponse.Builder

addSupportedDatabaseFlagsBuilder()

public SupportedDatabaseFlag.Builder addSupportedDatabaseFlagsBuilder()

The list of SupportedDatabaseFlags.

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

Returns
TypeDescription
SupportedDatabaseFlag.Builder

addSupportedDatabaseFlagsBuilder(int index)

public SupportedDatabaseFlag.Builder addSupportedDatabaseFlagsBuilder(int index)

The list of SupportedDatabaseFlags.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
SupportedDatabaseFlag.Builder

build()

public ListSupportedDatabaseFlagsResponse build()
Returns
TypeDescription
ListSupportedDatabaseFlagsResponse

buildPartial()

public ListSupportedDatabaseFlagsResponse buildPartial()
Returns
TypeDescription
ListSupportedDatabaseFlagsResponse

clear()

public ListSupportedDatabaseFlagsResponse.Builder clear()
Returns
TypeDescription
ListSupportedDatabaseFlagsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListSupportedDatabaseFlagsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListSupportedDatabaseFlagsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListSupportedDatabaseFlagsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListSupportedDatabaseFlagsResponse.Builder
Overrides

clearSupportedDatabaseFlags()

public ListSupportedDatabaseFlagsResponse.Builder clearSupportedDatabaseFlags()

The list of SupportedDatabaseFlags.

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

Returns
TypeDescription
ListSupportedDatabaseFlagsResponse.Builder

clone()

public ListSupportedDatabaseFlagsResponse.Builder clone()
Returns
TypeDescription
ListSupportedDatabaseFlagsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListSupportedDatabaseFlagsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSupportedDatabaseFlagsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getSupportedDatabaseFlags(int index)

public SupportedDatabaseFlag getSupportedDatabaseFlags(int index)

The list of SupportedDatabaseFlags.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
SupportedDatabaseFlag

getSupportedDatabaseFlagsBuilder(int index)

public SupportedDatabaseFlag.Builder getSupportedDatabaseFlagsBuilder(int index)

The list of SupportedDatabaseFlags.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
SupportedDatabaseFlag.Builder

getSupportedDatabaseFlagsBuilderList()

public List<SupportedDatabaseFlag.Builder> getSupportedDatabaseFlagsBuilderList()

The list of SupportedDatabaseFlags.

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

Returns
TypeDescription
List<Builder>

getSupportedDatabaseFlagsCount()

public int getSupportedDatabaseFlagsCount()

The list of SupportedDatabaseFlags.

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

Returns
TypeDescription
int

getSupportedDatabaseFlagsList()

public List<SupportedDatabaseFlag> getSupportedDatabaseFlagsList()

The list of SupportedDatabaseFlags.

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

Returns
TypeDescription
List<SupportedDatabaseFlag>

getSupportedDatabaseFlagsOrBuilder(int index)

public SupportedDatabaseFlagOrBuilder getSupportedDatabaseFlagsOrBuilder(int index)

The list of SupportedDatabaseFlags.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
SupportedDatabaseFlagOrBuilder

getSupportedDatabaseFlagsOrBuilderList()

public List<? extends SupportedDatabaseFlagOrBuilder> getSupportedDatabaseFlagsOrBuilderList()

The list of SupportedDatabaseFlags.

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

Returns
TypeDescription
List<? extends com.google.cloud.alloydb.v1beta.SupportedDatabaseFlagOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListSupportedDatabaseFlagsResponse other)

public ListSupportedDatabaseFlagsResponse.Builder mergeFrom(ListSupportedDatabaseFlagsResponse other)
Parameter
NameDescription
otherListSupportedDatabaseFlagsResponse
Returns
TypeDescription
ListSupportedDatabaseFlagsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListSupportedDatabaseFlagsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSupportedDatabaseFlagsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListSupportedDatabaseFlagsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListSupportedDatabaseFlagsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSupportedDatabaseFlagsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListSupportedDatabaseFlagsResponse.Builder
Overrides

removeSupportedDatabaseFlags(int index)

public ListSupportedDatabaseFlagsResponse.Builder removeSupportedDatabaseFlags(int index)

The list of SupportedDatabaseFlags.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListSupportedDatabaseFlagsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListSupportedDatabaseFlagsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListSupportedDatabaseFlagsResponse.Builder
Overrides

setSupportedDatabaseFlags(int index, SupportedDatabaseFlag value)

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

The list of SupportedDatabaseFlags.

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

Parameters
NameDescription
indexint
valueSupportedDatabaseFlag
Returns
TypeDescription
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.v1beta.SupportedDatabaseFlag supported_database_flags = 1;

Parameters
NameDescription
indexint
builderForValueSupportedDatabaseFlag.Builder
Returns
TypeDescription
ListSupportedDatabaseFlagsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListSupportedDatabaseFlagsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListSupportedDatabaseFlagsResponse.Builder
Overrides