public final class DatabaseEncryption extends GeneratedMessageV3 implements DatabaseEncryptionOrBuilder
Configuration of etcd encryption.
Protobuf type google.container.v1beta1.DatabaseEncryption
Static Fields
KEY_NAME_FIELD_NUMBER
public static final int KEY_NAME_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DatabaseEncryption getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DatabaseEncryption.Builder newBuilder()
Returns
newBuilder(DatabaseEncryption prototype)
public static DatabaseEncryption.Builder newBuilder(DatabaseEncryption prototype)
Parameter
Returns
public static DatabaseEncryption parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DatabaseEncryption parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DatabaseEncryption parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DatabaseEncryption parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DatabaseEncryption parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DatabaseEncryption parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DatabaseEncryption parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DatabaseEncryption parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DatabaseEncryption parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DatabaseEncryption parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DatabaseEncryption parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DatabaseEncryption parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DatabaseEncryption> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public DatabaseEncryption getDefaultInstanceForType()
Returns
getKeyName()
public String getKeyName()
Name of CloudKMS key to use for the encryption of secrets in etcd.
Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
string key_name = 1;
Returns
Type | Description |
String | The keyName.
|
getKeyNameBytes()
public ByteString getKeyNameBytes()
Name of CloudKMS key to use for the encryption of secrets in etcd.
Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
string key_name = 1;
Returns
getParserForType()
public Parser<DatabaseEncryption> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getState()
public DatabaseEncryption.State getState()
Denotes the state of etcd encryption.
.google.container.v1beta1.DatabaseEncryption.State state = 2;
Returns
getStateValue()
public int getStateValue()
Denotes the state of etcd encryption.
.google.container.v1beta1.DatabaseEncryption.State state = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for state.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DatabaseEncryption.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DatabaseEncryption.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DatabaseEncryption.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions