Interface OperationOrBuilder (0.1.0)

public interface OperationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAcquireSsrsLeaseContext()

public abstract AcquireSsrsLeaseContext getAcquireSsrsLeaseContext()

The context for acquire SSRS lease operation, if applicable.

.google.cloud.sql.v1beta4.AcquireSsrsLeaseContext acquire_ssrs_lease_context = 20;

Returns
Type Description
AcquireSsrsLeaseContext

The acquireSsrsLeaseContext.

getAcquireSsrsLeaseContextOrBuilder()

public abstract AcquireSsrsLeaseContextOrBuilder getAcquireSsrsLeaseContextOrBuilder()

The context for acquire SSRS lease operation, if applicable.

.google.cloud.sql.v1beta4.AcquireSsrsLeaseContext acquire_ssrs_lease_context = 20;

Returns
Type Description
AcquireSsrsLeaseContextOrBuilder

getApiWarning()

public abstract ApiWarning getApiWarning()

An Admin API warning message.

.google.cloud.sql.v1beta4.ApiWarning api_warning = 19;

Returns
Type Description
ApiWarning

The apiWarning.

getApiWarningOrBuilder()

public abstract ApiWarningOrBuilder getApiWarningOrBuilder()

An Admin API warning message.

.google.cloud.sql.v1beta4.ApiWarning api_warning = 19;

Returns
Type Description
ApiWarningOrBuilder

getBackupContext()

public abstract BackupContext getBackupContext()

The context for backup operation, if applicable.

.google.cloud.sql.v1beta4.BackupContext backup_context = 17;

Returns
Type Description
BackupContext

The backupContext.

getBackupContextOrBuilder()

public abstract BackupContextOrBuilder getBackupContextOrBuilder()

The context for backup operation, if applicable.

.google.cloud.sql.v1beta4.BackupContext backup_context = 17;

Returns
Type Description
BackupContextOrBuilder

getEndTime()

public abstract Timestamp getEndTime()

The time this operation finished in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp end_time = 7;

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public abstract TimestampOrBuilder getEndTimeOrBuilder()

The time this operation finished in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp end_time = 7;

Returns
Type Description
TimestampOrBuilder

getError()

public abstract OperationErrors getError()

If errors occurred during processing of this operation, this field will be populated.

.google.cloud.sql.v1beta4.OperationErrors error = 8;

Returns
Type Description
OperationErrors

The error.

getErrorOrBuilder()

public abstract OperationErrorsOrBuilder getErrorOrBuilder()

If errors occurred during processing of this operation, this field will be populated.

.google.cloud.sql.v1beta4.OperationErrors error = 8;

Returns
Type Description
OperationErrorsOrBuilder

getExportContext()

public abstract ExportContext getExportContext()

The context for export operation, if applicable.

.google.cloud.sql.v1beta4.ExportContext export_context = 11;

Returns
Type Description
ExportContext

The exportContext.

getExportContextOrBuilder()

public abstract ExportContextOrBuilder getExportContextOrBuilder()

The context for export operation, if applicable.

.google.cloud.sql.v1beta4.ExportContext export_context = 11;

Returns
Type Description
ExportContextOrBuilder

getImportContext()

public abstract ImportContext getImportContext()

The context for import operation, if applicable.

.google.cloud.sql.v1beta4.ImportContext import_context = 10;

Returns
Type Description
ImportContext

The importContext.

getImportContextOrBuilder()

public abstract ImportContextOrBuilder getImportContextOrBuilder()

The context for import operation, if applicable.

.google.cloud.sql.v1beta4.ImportContext import_context = 10;

Returns
Type Description
ImportContextOrBuilder

getInsertTime()

public abstract Timestamp getInsertTime()

The time this operation was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp insert_time = 5;

Returns
Type Description
Timestamp

The insertTime.

getInsertTimeOrBuilder()

public abstract TimestampOrBuilder getInsertTimeOrBuilder()

The time this operation was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp insert_time = 5;

Returns
Type Description
TimestampOrBuilder

getKind()

public abstract String getKind()

This is always sql#operation.

string kind = 1;

Returns
Type Description
String

The kind.

getKindBytes()

public abstract ByteString getKindBytes()

This is always sql#operation.

string kind = 1;

Returns
Type Description
ByteString

The bytes for kind.

getName()

public abstract String getName()

An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the operation.

string name = 12;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the operation.

string name = 12;

Returns
Type Description
ByteString

The bytes for name.

getOperationType()

public abstract Operation.SqlOperationType getOperationType()

The type of the operation. Valid values are:

  • CREATE
  • DELETE
  • UPDATE
  • RESTART
  • IMPORT
  • EXPORT
  • BACKUP_VOLUME
  • RESTORE_VOLUME
  • CREATE_USER
  • DELETE_USER
  • CREATE_DATABASE
  • DELETE_DATABASE

.google.cloud.sql.v1beta4.Operation.SqlOperationType operation_type = 9;

Returns
Type Description
Operation.SqlOperationType

The operationType.

getOperationTypeValue()

public abstract int getOperationTypeValue()

The type of the operation. Valid values are:

  • CREATE
  • DELETE
  • UPDATE
  • RESTART
  • IMPORT
  • EXPORT
  • BACKUP_VOLUME
  • RESTORE_VOLUME
  • CREATE_USER
  • DELETE_USER
  • CREATE_DATABASE
  • DELETE_DATABASE

.google.cloud.sql.v1beta4.Operation.SqlOperationType operation_type = 9;

Returns
Type Description
int

The enum numeric value on the wire for operationType.

getPreCheckMajorVersionUpgradeContext()

public abstract PreCheckMajorVersionUpgradeContext getPreCheckMajorVersionUpgradeContext()

The context for pre-check major version upgrade operation, if applicable. This field is only populated when the operation_type is PRE_CHECK_MAJOR_VERSION_UPGRADE. The PreCheckMajorVersionUpgradeContext message itself contains the details for that pre-check, such as the target database version for the upgrade and the results of the check (including any warnings or errors found).

.google.cloud.sql.v1beta4.PreCheckMajorVersionUpgradeContext pre_check_major_version_upgrade_context = 50;

Returns
Type Description
PreCheckMajorVersionUpgradeContext

The preCheckMajorVersionUpgradeContext.

getPreCheckMajorVersionUpgradeContextOrBuilder()

public abstract PreCheckMajorVersionUpgradeContextOrBuilder getPreCheckMajorVersionUpgradeContextOrBuilder()

The context for pre-check major version upgrade operation, if applicable. This field is only populated when the operation_type is PRE_CHECK_MAJOR_VERSION_UPGRADE. The PreCheckMajorVersionUpgradeContext message itself contains the details for that pre-check, such as the target database version for the upgrade and the results of the check (including any warnings or errors found).

.google.cloud.sql.v1beta4.PreCheckMajorVersionUpgradeContext pre_check_major_version_upgrade_context = 50;

Returns
Type Description
PreCheckMajorVersionUpgradeContextOrBuilder
public abstract String getSelfLink()

The URI of this resource.

string self_link = 14;

Returns
Type Description
String

The selfLink.

getSelfLinkBytes()

public abstract ByteString getSelfLinkBytes()

The URI of this resource.

string self_link = 14;

Returns
Type Description
ByteString

The bytes for selfLink.

getStartTime()

public abstract Timestamp getStartTime()

The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp start_time = 6;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public abstract TimestampOrBuilder getStartTimeOrBuilder()

The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp start_time = 6;

Returns
Type Description
TimestampOrBuilder

getStatus()

public abstract Operation.SqlOperationStatus getStatus()

The status of an operation.

.google.cloud.sql.v1beta4.Operation.SqlOperationStatus status = 3;

Returns
Type Description
Operation.SqlOperationStatus

The status.

getStatusValue()

public abstract int getStatusValue()

The status of an operation.

.google.cloud.sql.v1beta4.Operation.SqlOperationStatus status = 3;

Returns
Type Description
int

The enum numeric value on the wire for status.

getSubOperationType()

public abstract SqlSubOperationType getSubOperationType()

Optional. The sub operation based on the operation type.

.google.cloud.sql.v1beta4.SqlSubOperationType sub_operation_type = 48 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SqlSubOperationType

The subOperationType.

getSubOperationTypeOrBuilder()

public abstract SqlSubOperationTypeOrBuilder getSubOperationTypeOrBuilder()

Optional. The sub operation based on the operation type.

.google.cloud.sql.v1beta4.SqlSubOperationType sub_operation_type = 48 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SqlSubOperationTypeOrBuilder

getTargetId()

public abstract String getTargetId()

Name of the resource on which this operation runs.

string target_id = 13;

Returns
Type Description
String

The targetId.

getTargetIdBytes()

public abstract ByteString getTargetIdBytes()

Name of the resource on which this operation runs.

string target_id = 13;

Returns
Type Description
ByteString

The bytes for targetId.

public abstract String getTargetLink()

string target_link = 2;

Returns
Type Description
String

The targetLink.

getTargetLinkBytes()

public abstract ByteString getTargetLinkBytes()

string target_link = 2;

Returns
Type Description
ByteString

The bytes for targetLink.

getTargetProject()

public abstract String getTargetProject()

The project ID of the target instance related to this operation.

string target_project = 15;

Returns
Type Description
String

The targetProject.

getTargetProjectBytes()

public abstract ByteString getTargetProjectBytes()

The project ID of the target instance related to this operation.

string target_project = 15;

Returns
Type Description
ByteString

The bytes for targetProject.

getUser()

public abstract String getUser()

The email address of the user who initiated this operation.

string user = 4;

Returns
Type Description
String

The user.

getUserBytes()

public abstract ByteString getUserBytes()

The email address of the user who initiated this operation.

string user = 4;

Returns
Type Description
ByteString

The bytes for user.

hasAcquireSsrsLeaseContext()

public abstract boolean hasAcquireSsrsLeaseContext()

The context for acquire SSRS lease operation, if applicable.

.google.cloud.sql.v1beta4.AcquireSsrsLeaseContext acquire_ssrs_lease_context = 20;

Returns
Type Description
boolean

Whether the acquireSsrsLeaseContext field is set.

hasApiWarning()

public abstract boolean hasApiWarning()

An Admin API warning message.

.google.cloud.sql.v1beta4.ApiWarning api_warning = 19;

Returns
Type Description
boolean

Whether the apiWarning field is set.

hasBackupContext()

public abstract boolean hasBackupContext()

The context for backup operation, if applicable.

.google.cloud.sql.v1beta4.BackupContext backup_context = 17;

Returns
Type Description
boolean

Whether the backupContext field is set.

hasEndTime()

public abstract boolean hasEndTime()

The time this operation finished in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp end_time = 7;

Returns
Type Description
boolean

Whether the endTime field is set.

hasError()

public abstract boolean hasError()

If errors occurred during processing of this operation, this field will be populated.

.google.cloud.sql.v1beta4.OperationErrors error = 8;

Returns
Type Description
boolean

Whether the error field is set.

hasExportContext()

public abstract boolean hasExportContext()

The context for export operation, if applicable.

.google.cloud.sql.v1beta4.ExportContext export_context = 11;

Returns
Type Description
boolean

Whether the exportContext field is set.

hasImportContext()

public abstract boolean hasImportContext()

The context for import operation, if applicable.

.google.cloud.sql.v1beta4.ImportContext import_context = 10;

Returns
Type Description
boolean

Whether the importContext field is set.

hasInsertTime()

public abstract boolean hasInsertTime()

The time this operation was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp insert_time = 5;

Returns
Type Description
boolean

Whether the insertTime field is set.

hasPreCheckMajorVersionUpgradeContext()

public abstract boolean hasPreCheckMajorVersionUpgradeContext()

The context for pre-check major version upgrade operation, if applicable. This field is only populated when the operation_type is PRE_CHECK_MAJOR_VERSION_UPGRADE. The PreCheckMajorVersionUpgradeContext message itself contains the details for that pre-check, such as the target database version for the upgrade and the results of the check (including any warnings or errors found).

.google.cloud.sql.v1beta4.PreCheckMajorVersionUpgradeContext pre_check_major_version_upgrade_context = 50;

Returns
Type Description
boolean

Whether the preCheckMajorVersionUpgradeContext field is set.

hasStartTime()

public abstract boolean hasStartTime()

The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

.google.protobuf.Timestamp start_time = 6;

Returns
Type Description
boolean

Whether the startTime field is set.

hasSubOperationType()

public abstract boolean hasSubOperationType()

Optional. The sub operation based on the operation type.

.google.cloud.sql.v1beta4.SqlSubOperationType sub_operation_type = 48 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the subOperationType field is set.