Interface PointInTimeRestoreContextOrBuilder (0.1.0)

public interface PointInTimeRestoreContextOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllocatedIpRange()

public abstract String getAllocatedIpRange()

Optional. The name of the allocated IP range for the internal IP Cloud SQL instance. For example: "google-managed-services-default". If you set this, then Cloud SQL creates the IP address for the cloned instance in the allocated range. This range must comply with RFC 1035 standards. Specifically, the name must be 1-63 characters long and match the regular expression a-z?. Reserved for future use.

optional string allocated_ip_range = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The allocatedIpRange.

getAllocatedIpRangeBytes()

public abstract ByteString getAllocatedIpRangeBytes()

Optional. The name of the allocated IP range for the internal IP Cloud SQL instance. For example: "google-managed-services-default". If you set this, then Cloud SQL creates the IP address for the cloned instance in the allocated range. This range must comply with RFC 1035 standards. Specifically, the name must be 1-63 characters long and match the regular expression a-z?. Reserved for future use.

optional string allocated_ip_range = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for allocatedIpRange.

getDatasource()

public abstract String getDatasource()

The Backup and Disaster Recovery (DR) Service Datasource URI. Format: projects/{project}/locations/{region}/backupVaults/{backupvault}/dataSources/{datasource}.

optional string datasource = 1;

Returns
Type Description
String

The datasource.

getDatasourceBytes()

public abstract ByteString getDatasourceBytes()

The Backup and Disaster Recovery (DR) Service Datasource URI. Format: projects/{project}/locations/{region}/backupVaults/{backupvault}/dataSources/{datasource}.

optional string datasource = 1;

Returns
Type Description
ByteString

The bytes for datasource.

getPointInTime()

public abstract Timestamp getPointInTime()

Required. The date and time to which you want to restore the instance.

.google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Timestamp

The pointInTime.

getPointInTimeOrBuilder()

public abstract TimestampOrBuilder getPointInTimeOrBuilder()

Required. The date and time to which you want to restore the instance.

.google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TimestampOrBuilder

getPreferredSecondaryZone()

public abstract String getPreferredSecondaryZone()

Optional. Point-in-time recovery of a regional instance in the specified zones. If not specified, clone to the same secondary zone as the source instance. This value cannot be the same as the preferred_zone field.

optional string preferred_secondary_zone = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The preferredSecondaryZone.

getPreferredSecondaryZoneBytes()

public abstract ByteString getPreferredSecondaryZoneBytes()

Optional. Point-in-time recovery of a regional instance in the specified zones. If not specified, clone to the same secondary zone as the source instance. This value cannot be the same as the preferred_zone field.

optional string preferred_secondary_zone = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for preferredSecondaryZone.

getPreferredZone()

public abstract String getPreferredZone()

Optional. Point-in-time recovery of an instance to the specified zone. If no zone is specified, then clone to the same primary zone as the source instance.

optional string preferred_zone = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The preferredZone.

getPreferredZoneBytes()

public abstract ByteString getPreferredZoneBytes()

Optional. Point-in-time recovery of an instance to the specified zone. If no zone is specified, then clone to the same primary zone as the source instance.

optional string preferred_zone = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for preferredZone.

getPrivateNetwork()

public abstract String getPrivateNetwork()

Optional. The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, /projects/myProject/global/networks/default.

optional string private_network = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The privateNetwork.

getPrivateNetworkBytes()

public abstract ByteString getPrivateNetworkBytes()

Optional. The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, /projects/myProject/global/networks/default.

optional string private_network = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for privateNetwork.

getRegion()

public abstract String getRegion()

Optional. The region of the target instance where the datasource will be restored. For example: "us-central1".

optional string region = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The region.

getRegionBytes()

public abstract ByteString getRegionBytes()

Optional. The region of the target instance where the datasource will be restored. For example: "us-central1".

optional string region = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for region.

getTargetInstance()

public abstract String getTargetInstance()

Target instance name.

optional string target_instance = 3;

Returns
Type Description
String

The targetInstance.

getTargetInstanceBytes()

public abstract ByteString getTargetInstanceBytes()

Target instance name.

optional string target_instance = 3;

Returns
Type Description
ByteString

The bytes for targetInstance.

getTargetInstanceClearSettingsFieldNames(int index)

public abstract String getTargetInstanceClearSettingsFieldNames(int index)

Optional. Specifies the instance settings that will be cleared from the source instance. This field is only applicable for cross project PITRs.

repeated string target_instance_clear_settings_field_names = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The targetInstanceClearSettingsFieldNames at the given index.

getTargetInstanceClearSettingsFieldNamesBytes(int index)

public abstract ByteString getTargetInstanceClearSettingsFieldNamesBytes(int index)

Optional. Specifies the instance settings that will be cleared from the source instance. This field is only applicable for cross project PITRs.

repeated string target_instance_clear_settings_field_names = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the targetInstanceClearSettingsFieldNames at the given index.

getTargetInstanceClearSettingsFieldNamesCount()

public abstract int getTargetInstanceClearSettingsFieldNamesCount()

Optional. Specifies the instance settings that will be cleared from the source instance. This field is only applicable for cross project PITRs.

repeated string target_instance_clear_settings_field_names = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of targetInstanceClearSettingsFieldNames.

getTargetInstanceClearSettingsFieldNamesList()

public abstract List<String> getTargetInstanceClearSettingsFieldNamesList()

Optional. Specifies the instance settings that will be cleared from the source instance. This field is only applicable for cross project PITRs.

repeated string target_instance_clear_settings_field_names = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the targetInstanceClearSettingsFieldNames.

getTargetInstanceSettings()

public abstract DatabaseInstance getTargetInstanceSettings()

Optional. Specifies the instance settings that will be overridden from the source instance. This field is only applicable for cross project PITRs.

.google.cloud.sql.v1beta4.DatabaseInstance target_instance_settings = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DatabaseInstance

The targetInstanceSettings.

getTargetInstanceSettingsOrBuilder()

public abstract DatabaseInstanceOrBuilder getTargetInstanceSettingsOrBuilder()

Optional. Specifies the instance settings that will be overridden from the source instance. This field is only applicable for cross project PITRs.

.google.cloud.sql.v1beta4.DatabaseInstance target_instance_settings = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DatabaseInstanceOrBuilder

hasAllocatedIpRange()

public abstract boolean hasAllocatedIpRange()

Optional. The name of the allocated IP range for the internal IP Cloud SQL instance. For example: "google-managed-services-default". If you set this, then Cloud SQL creates the IP address for the cloned instance in the allocated range. This range must comply with RFC 1035 standards. Specifically, the name must be 1-63 characters long and match the regular expression a-z?. Reserved for future use.

optional string allocated_ip_range = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the allocatedIpRange field is set.

hasDatasource()

public abstract boolean hasDatasource()

The Backup and Disaster Recovery (DR) Service Datasource URI. Format: projects/{project}/locations/{region}/backupVaults/{backupvault}/dataSources/{datasource}.

optional string datasource = 1;

Returns
Type Description
boolean

Whether the datasource field is set.

hasPointInTime()

public abstract boolean hasPointInTime()

Required. The date and time to which you want to restore the instance.

.google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the pointInTime field is set.

hasPreferredSecondaryZone()

public abstract boolean hasPreferredSecondaryZone()

Optional. Point-in-time recovery of a regional instance in the specified zones. If not specified, clone to the same secondary zone as the source instance. This value cannot be the same as the preferred_zone field.

optional string preferred_secondary_zone = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the preferredSecondaryZone field is set.

hasPreferredZone()

public abstract boolean hasPreferredZone()

Optional. Point-in-time recovery of an instance to the specified zone. If no zone is specified, then clone to the same primary zone as the source instance.

optional string preferred_zone = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the preferredZone field is set.

hasPrivateNetwork()

public abstract boolean hasPrivateNetwork()

Optional. The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, /projects/myProject/global/networks/default.

optional string private_network = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the privateNetwork field is set.

hasRegion()

public abstract boolean hasRegion()

Optional. The region of the target instance where the datasource will be restored. For example: "us-central1".

optional string region = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the region field is set.

hasTargetInstance()

public abstract boolean hasTargetInstance()

Target instance name.

optional string target_instance = 3;

Returns
Type Description
boolean

Whether the targetInstance field is set.

hasTargetInstanceSettings()

public abstract boolean hasTargetInstanceSettings()

Optional. Specifies the instance settings that will be overridden from the source instance. This field is only applicable for cross project PITRs.

.google.cloud.sql.v1beta4.DatabaseInstance target_instance_settings = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the targetInstanceSettings field is set.