public static final class SqlInstancesDeleteRequest.Builder extends GeneratedMessage.Builder<SqlInstancesDeleteRequest.Builder> implements SqlInstancesDeleteRequestOrBuilderProtobuf type google.cloud.sql.v1beta4.SqlInstancesDeleteRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SqlInstancesDeleteRequest.BuilderImplements
SqlInstancesDeleteRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SqlInstancesDeleteRequest build()| Returns | |
|---|---|
| Type | Description |
SqlInstancesDeleteRequest |
|
buildPartial()
public SqlInstancesDeleteRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
SqlInstancesDeleteRequest |
|
clear()
public SqlInstancesDeleteRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
SqlInstancesDeleteRequest.Builder |
|
clearEnableFinalBackup()
public SqlInstancesDeleteRequest.Builder clearEnableFinalBackup()Flag to opt-in for final backup. By default, it is turned off.
optional bool enable_final_backup = 7;
| Returns | |
|---|---|
| Type | Description |
SqlInstancesDeleteRequest.Builder |
This builder for chaining. |
clearExpiration()
public SqlInstancesDeleteRequest.Builder clearExpiration()| Returns | |
|---|---|
| Type | Description |
SqlInstancesDeleteRequest.Builder |
|
clearFinalBackupDescription()
public SqlInstancesDeleteRequest.Builder clearFinalBackupDescription()Optional. The description of the final backup.
string final_backup_description = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SqlInstancesDeleteRequest.Builder |
This builder for chaining. |
clearFinalBackupExpiryTime()
public SqlInstancesDeleteRequest.Builder clearFinalBackupExpiryTime()Optional. Final Backup expiration time. Timestamp in UTC of when this resource is considered expired.
.google.protobuf.Timestamp final_backup_expiry_time = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SqlInstancesDeleteRequest.Builder |
|
clearFinalBackupTtlDays()
public SqlInstancesDeleteRequest.Builder clearFinalBackupTtlDays()Optional. Retention period of the final backup.
int64 final_backup_ttl_days = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SqlInstancesDeleteRequest.Builder |
This builder for chaining. |
clearInstance()
public SqlInstancesDeleteRequest.Builder clearInstance()Cloud SQL instance ID. This does not include the project ID.
string instance = 1;
| Returns | |
|---|---|
| Type | Description |
SqlInstancesDeleteRequest.Builder |
This builder for chaining. |
clearProject()
public SqlInstancesDeleteRequest.Builder clearProject()Project ID of the project that contains the instance to be deleted.
string project = 2;
| Returns | |
|---|---|
| Type | Description |
SqlInstancesDeleteRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public SqlInstancesDeleteRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SqlInstancesDeleteRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnableFinalBackup()
public boolean getEnableFinalBackup()Flag to opt-in for final backup. By default, it is turned off.
optional bool enable_final_backup = 7;
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableFinalBackup. |
getExpirationCase()
public SqlInstancesDeleteRequest.ExpirationCase getExpirationCase()| Returns | |
|---|---|
| Type | Description |
SqlInstancesDeleteRequest.ExpirationCase |
|
getFinalBackupDescription()
public String getFinalBackupDescription()Optional. The description of the final backup.
string final_backup_description = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The finalBackupDescription. |
getFinalBackupDescriptionBytes()
public ByteString getFinalBackupDescriptionBytes()Optional. The description of the final backup.
string final_backup_description = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for finalBackupDescription. |
getFinalBackupExpiryTime()
public Timestamp getFinalBackupExpiryTime()Optional. Final Backup expiration time. Timestamp in UTC of when this resource is considered expired.
.google.protobuf.Timestamp final_backup_expiry_time = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The finalBackupExpiryTime. |
getFinalBackupExpiryTimeBuilder()
public Timestamp.Builder getFinalBackupExpiryTimeBuilder()Optional. Final Backup expiration time. Timestamp in UTC of when this resource is considered expired.
.google.protobuf.Timestamp final_backup_expiry_time = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getFinalBackupExpiryTimeOrBuilder()
public TimestampOrBuilder getFinalBackupExpiryTimeOrBuilder()Optional. Final Backup expiration time. Timestamp in UTC of when this resource is considered expired.
.google.protobuf.Timestamp final_backup_expiry_time = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getFinalBackupTtlDays()
public long getFinalBackupTtlDays()Optional. Retention period of the final backup.
int64 final_backup_ttl_days = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The finalBackupTtlDays. |
getInstance()
public String getInstance()Cloud SQL instance ID. This does not include the project ID.
string instance = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The instance. |
getInstanceBytes()
public ByteString getInstanceBytes()Cloud SQL instance ID. This does not include the project ID.
string instance = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for instance. |
getProject()
public String getProject()Project ID of the project that contains the instance to be deleted.
string project = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()Project ID of the project that contains the instance to be deleted.
string project = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for project. |
hasEnableFinalBackup()
public boolean hasEnableFinalBackup()Flag to opt-in for final backup. By default, it is turned off.
optional bool enable_final_backup = 7;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the enableFinalBackup field is set. |
hasFinalBackupExpiryTime()
public boolean hasFinalBackupExpiryTime()Optional. Final Backup expiration time. Timestamp in UTC of when this resource is considered expired.
.google.protobuf.Timestamp final_backup_expiry_time = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the finalBackupExpiryTime field is set. |
hasFinalBackupTtlDays()
public boolean hasFinalBackupTtlDays()Optional. Retention period of the final backup.
int64 final_backup_ttl_days = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the finalBackupTtlDays field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFinalBackupExpiryTime(Timestamp value)
public SqlInstancesDeleteRequest.Builder mergeFinalBackupExpiryTime(Timestamp value)Optional. Final Backup expiration time. Timestamp in UTC of when this resource is considered expired.
.google.protobuf.Timestamp final_backup_expiry_time = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesDeleteRequest.Builder |
|
mergeFrom(SqlInstancesDeleteRequest other)
public SqlInstancesDeleteRequest.Builder mergeFrom(SqlInstancesDeleteRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
SqlInstancesDeleteRequest |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesDeleteRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SqlInstancesDeleteRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesDeleteRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SqlInstancesDeleteRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesDeleteRequest.Builder |
|
setEnableFinalBackup(boolean value)
public SqlInstancesDeleteRequest.Builder setEnableFinalBackup(boolean value)Flag to opt-in for final backup. By default, it is turned off.
optional bool enable_final_backup = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableFinalBackup to set. |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesDeleteRequest.Builder |
This builder for chaining. |
setFinalBackupDescription(String value)
public SqlInstancesDeleteRequest.Builder setFinalBackupDescription(String value)Optional. The description of the final backup.
string final_backup_description = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe finalBackupDescription to set. |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesDeleteRequest.Builder |
This builder for chaining. |
setFinalBackupDescriptionBytes(ByteString value)
public SqlInstancesDeleteRequest.Builder setFinalBackupDescriptionBytes(ByteString value)Optional. The description of the final backup.
string final_backup_description = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for finalBackupDescription to set. |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesDeleteRequest.Builder |
This builder for chaining. |
setFinalBackupExpiryTime(Timestamp value)
public SqlInstancesDeleteRequest.Builder setFinalBackupExpiryTime(Timestamp value)Optional. Final Backup expiration time. Timestamp in UTC of when this resource is considered expired.
.google.protobuf.Timestamp final_backup_expiry_time = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesDeleteRequest.Builder |
|
setFinalBackupExpiryTime(Timestamp.Builder builderForValue)
public SqlInstancesDeleteRequest.Builder setFinalBackupExpiryTime(Timestamp.Builder builderForValue)Optional. Final Backup expiration time. Timestamp in UTC of when this resource is considered expired.
.google.protobuf.Timestamp final_backup_expiry_time = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesDeleteRequest.Builder |
|
setFinalBackupTtlDays(long value)
public SqlInstancesDeleteRequest.Builder setFinalBackupTtlDays(long value)Optional. Retention period of the final backup.
int64 final_backup_ttl_days = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe finalBackupTtlDays to set. |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesDeleteRequest.Builder |
This builder for chaining. |
setInstance(String value)
public SqlInstancesDeleteRequest.Builder setInstance(String value)Cloud SQL instance ID. This does not include the project ID.
string instance = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe instance to set. |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesDeleteRequest.Builder |
This builder for chaining. |
setInstanceBytes(ByteString value)
public SqlInstancesDeleteRequest.Builder setInstanceBytes(ByteString value)Cloud SQL instance ID. This does not include the project ID.
string instance = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for instance to set. |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesDeleteRequest.Builder |
This builder for chaining. |
setProject(String value)
public SqlInstancesDeleteRequest.Builder setProject(String value)Project ID of the project that contains the instance to be deleted.
string project = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe project to set. |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesDeleteRequest.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public SqlInstancesDeleteRequest.Builder setProjectBytes(ByteString value)Project ID of the project that contains the instance to be deleted.
string project = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for project to set. |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesDeleteRequest.Builder |
This builder for chaining. |