Class SqlFlagsListRequest.Builder (0.1.0)

public static final class SqlFlagsListRequest.Builder extends GeneratedMessage.Builder<SqlFlagsListRequest.Builder> implements SqlFlagsListRequestOrBuilder

Protobuf type google.cloud.sql.v1beta4.SqlFlagsListRequest

Static Methods

getDescriptor()

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

Methods

build()

public SqlFlagsListRequest build()
Returns
Type Description
SqlFlagsListRequest

buildPartial()

public SqlFlagsListRequest buildPartial()
Returns
Type Description
SqlFlagsListRequest

clear()

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

clearDatabaseVersion()

public SqlFlagsListRequest.Builder clearDatabaseVersion()

Database type and version you want to retrieve flags for. By default, this method returns flags for all database types and versions.

string database_version = 1;

Returns
Type Description
SqlFlagsListRequest.Builder

This builder for chaining.

clearFlagScope()

public SqlFlagsListRequest.Builder clearFlagScope()

Optional. Specify the scope of flags to be returned by SqlFlagsListService. Return list of database flags if unspecified.

optional .google.cloud.sql.v1beta4.SqlFlagScope flag_scope = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SqlFlagsListRequest.Builder

This builder for chaining.

getDatabaseVersion()

public String getDatabaseVersion()

Database type and version you want to retrieve flags for. By default, this method returns flags for all database types and versions.

string database_version = 1;

Returns
Type Description
String

The databaseVersion.

getDatabaseVersionBytes()

public ByteString getDatabaseVersionBytes()

Database type and version you want to retrieve flags for. By default, this method returns flags for all database types and versions.

string database_version = 1;

Returns
Type Description
ByteString

The bytes for databaseVersion.

getDefaultInstanceForType()

public SqlFlagsListRequest getDefaultInstanceForType()
Returns
Type Description
SqlFlagsListRequest

getDescriptorForType()

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

getFlagScope()

public SqlFlagScope getFlagScope()

Optional. Specify the scope of flags to be returned by SqlFlagsListService. Return list of database flags if unspecified.

optional .google.cloud.sql.v1beta4.SqlFlagScope flag_scope = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SqlFlagScope

The flagScope.

getFlagScopeValue()

public int getFlagScopeValue()

Optional. Specify the scope of flags to be returned by SqlFlagsListService. Return list of database flags if unspecified.

optional .google.cloud.sql.v1beta4.SqlFlagScope flag_scope = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for flagScope.

hasFlagScope()

public boolean hasFlagScope()

Optional. Specify the scope of flags to be returned by SqlFlagsListService. Return list of database flags if unspecified.

optional .google.cloud.sql.v1beta4.SqlFlagScope flag_scope = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the flagScope field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SqlFlagsListRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDatabaseVersion(String value)

public SqlFlagsListRequest.Builder setDatabaseVersion(String value)

Database type and version you want to retrieve flags for. By default, this method returns flags for all database types and versions.

string database_version = 1;

Parameter
Name Description
value String

The databaseVersion to set.

Returns
Type Description
SqlFlagsListRequest.Builder

This builder for chaining.

setDatabaseVersionBytes(ByteString value)

public SqlFlagsListRequest.Builder setDatabaseVersionBytes(ByteString value)

Database type and version you want to retrieve flags for. By default, this method returns flags for all database types and versions.

string database_version = 1;

Parameter
Name Description
value ByteString

The bytes for databaseVersion to set.

Returns
Type Description
SqlFlagsListRequest.Builder

This builder for chaining.

setFlagScope(SqlFlagScope value)

public SqlFlagsListRequest.Builder setFlagScope(SqlFlagScope value)

Optional. Specify the scope of flags to be returned by SqlFlagsListService. Return list of database flags if unspecified.

optional .google.cloud.sql.v1beta4.SqlFlagScope flag_scope = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SqlFlagScope

The flagScope to set.

Returns
Type Description
SqlFlagsListRequest.Builder

This builder for chaining.

setFlagScopeValue(int value)

public SqlFlagsListRequest.Builder setFlagScopeValue(int value)

Optional. Specify the scope of flags to be returned by SqlFlagsListService. Return list of database flags if unspecified.

optional .google.cloud.sql.v1beta4.SqlFlagScope flag_scope = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for flagScope to set.

Returns
Type Description
SqlFlagsListRequest.Builder

This builder for chaining.