public final class BackupReencryptionConfig extends GeneratedMessage implements BackupReencryptionConfigOrBuilderBackup Reencryption Config
Protobuf type google.cloud.sql.v1beta4.BackupReencryptionConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > BackupReencryptionConfigImplements
BackupReencryptionConfigOrBuilderStatic Fields
BACKUP_LIMIT_FIELD_NUMBER
public static final int BACKUP_LIMIT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
BACKUP_TYPE_FIELD_NUMBER
public static final int BACKUP_TYPE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static BackupReencryptionConfig getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
BackupReencryptionConfig |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static BackupReencryptionConfig.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
BackupReencryptionConfig.Builder |
|
newBuilder(BackupReencryptionConfig prototype)
public static BackupReencryptionConfig.Builder newBuilder(BackupReencryptionConfig prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
BackupReencryptionConfig |
| Returns | |
|---|---|
| Type | Description |
BackupReencryptionConfig.Builder |
|
parseDelimitedFrom(InputStream input)
public static BackupReencryptionConfig parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
BackupReencryptionConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BackupReencryptionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackupReencryptionConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static BackupReencryptionConfig parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
BackupReencryptionConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BackupReencryptionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackupReencryptionConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static BackupReencryptionConfig parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
BackupReencryptionConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BackupReencryptionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackupReencryptionConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static BackupReencryptionConfig parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
BackupReencryptionConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BackupReencryptionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackupReencryptionConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static BackupReencryptionConfig parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
BackupReencryptionConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BackupReencryptionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackupReencryptionConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static BackupReencryptionConfig parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
BackupReencryptionConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BackupReencryptionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackupReencryptionConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<BackupReencryptionConfig> parser()| Returns | |
|---|---|
| Type | Description |
Parser<BackupReencryptionConfig> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getBackupLimit()
public int getBackupLimit()Backup re-encryption limit
optional int32 backup_limit = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The backupLimit. |
getBackupType()
public BackupReencryptionConfig.BackupType getBackupType()Type of backups users want to re-encrypt.
optional .google.cloud.sql.v1beta4.BackupReencryptionConfig.BackupType backup_type = 2;
| Returns | |
|---|---|
| Type | Description |
BackupReencryptionConfig.BackupType |
The backupType. |
getBackupTypeValue()
public int getBackupTypeValue()Type of backups users want to re-encrypt.
optional .google.cloud.sql.v1beta4.BackupReencryptionConfig.BackupType backup_type = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for backupType. |
getDefaultInstanceForType()
public BackupReencryptionConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BackupReencryptionConfig |
|
getParserForType()
public Parser<BackupReencryptionConfig> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<BackupReencryptionConfig> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasBackupLimit()
public boolean hasBackupLimit()Backup re-encryption limit
optional int32 backup_limit = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the backupLimit field is set. |
hasBackupType()
public boolean hasBackupType()Type of backups users want to re-encrypt.
optional .google.cloud.sql.v1beta4.BackupReencryptionConfig.BackupType backup_type = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the backupType field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public BackupReencryptionConfig.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
BackupReencryptionConfig.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected BackupReencryptionConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
BackupReencryptionConfig.Builder |
|
toBuilder()
public BackupReencryptionConfig.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
BackupReencryptionConfig.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|