Class SqlSubOperationType.Builder (0.1.0)

public static final class SqlSubOperationType.Builder extends GeneratedMessage.Builder<SqlSubOperationType.Builder> implements SqlSubOperationTypeOrBuilder

The sub operation type based on the operation type.

Protobuf type google.cloud.sql.v1beta4.SqlSubOperationType

Static Methods

getDescriptor()

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

Methods

build()

public SqlSubOperationType build()
Returns
Type Description
SqlSubOperationType

buildPartial()

public SqlSubOperationType buildPartial()
Returns
Type Description
SqlSubOperationType

clear()

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

clearMaintenanceType()

public SqlSubOperationType.Builder clearMaintenanceType()

The type of maintenance to be performed on the instance.

.google.cloud.sql.v1beta4.SqlMaintenanceType maintenance_type = 1;

Returns
Type Description
SqlSubOperationType.Builder

This builder for chaining.

clearSubOperationDetails()

public SqlSubOperationType.Builder clearSubOperationDetails()
Returns
Type Description
SqlSubOperationType.Builder

getDefaultInstanceForType()

public SqlSubOperationType getDefaultInstanceForType()
Returns
Type Description
SqlSubOperationType

getDescriptorForType()

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

getMaintenanceType()

public SqlMaintenanceType getMaintenanceType()

The type of maintenance to be performed on the instance.

.google.cloud.sql.v1beta4.SqlMaintenanceType maintenance_type = 1;

Returns
Type Description
SqlMaintenanceType

The maintenanceType.

getMaintenanceTypeValue()

public int getMaintenanceTypeValue()

The type of maintenance to be performed on the instance.

.google.cloud.sql.v1beta4.SqlMaintenanceType maintenance_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for maintenanceType.

getSubOperationDetailsCase()

public SqlSubOperationType.SubOperationDetailsCase getSubOperationDetailsCase()
Returns
Type Description
SqlSubOperationType.SubOperationDetailsCase

hasMaintenanceType()

public boolean hasMaintenanceType()

The type of maintenance to be performed on the instance.

.google.cloud.sql.v1beta4.SqlMaintenanceType maintenance_type = 1;

Returns
Type Description
boolean

Whether the maintenanceType field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SqlSubOperationType other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setMaintenanceType(SqlMaintenanceType value)

public SqlSubOperationType.Builder setMaintenanceType(SqlMaintenanceType value)

The type of maintenance to be performed on the instance.

.google.cloud.sql.v1beta4.SqlMaintenanceType maintenance_type = 1;

Parameter
Name Description
value SqlMaintenanceType

The maintenanceType to set.

Returns
Type Description
SqlSubOperationType.Builder

This builder for chaining.

setMaintenanceTypeValue(int value)

public SqlSubOperationType.Builder setMaintenanceTypeValue(int value)

The type of maintenance to be performed on the instance.

.google.cloud.sql.v1beta4.SqlMaintenanceType maintenance_type = 1;

Parameter
Name Description
value int

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

Returns
Type Description
SqlSubOperationType.Builder

This builder for chaining.