public final class CustomerEncryption extends GeneratedMessageV3 implements CustomerEncryptionOrBuilder
Describes the Customer-Supplied Encryption Key mechanism used to store an Object's data at rest.
Protobuf type google.storage.v2.CustomerEncryption
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CustomerEncryptionImplements
CustomerEncryptionOrBuilderStatic Fields
ENCRYPTION_ALGORITHM_FIELD_NUMBER
public static final int ENCRYPTION_ALGORITHM_FIELD_NUMBER
Type | Description |
int |
KEY_SHA256_BYTES_FIELD_NUMBER
public static final int KEY_SHA256_BYTES_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static CustomerEncryption getDefaultInstance()
Type | Description |
CustomerEncryption |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static CustomerEncryption.Builder newBuilder()
Type | Description |
CustomerEncryption.Builder |
newBuilder(CustomerEncryption prototype)
public static CustomerEncryption.Builder newBuilder(CustomerEncryption prototype)
Name | Description |
prototype |
CustomerEncryption |
Type | Description |
CustomerEncryption.Builder |
parseDelimitedFrom(InputStream input)
public static CustomerEncryption parseDelimitedFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
CustomerEncryption |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomerEncryption parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
CustomerEncryption |
Type | Description |
IOException |
parseFrom(byte[] data)
public static CustomerEncryption parseFrom(byte[] data)
Name | Description |
data |
byte[] |
Type | Description |
CustomerEncryption |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CustomerEncryption parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
CustomerEncryption |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CustomerEncryption parseFrom(ByteString data)
Name | Description |
data |
ByteString |
Type | Description |
CustomerEncryption |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomerEncryption parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
CustomerEncryption |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CustomerEncryption parseFrom(CodedInputStream input)
Name | Description |
input |
CodedInputStream |
Type | Description |
CustomerEncryption |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomerEncryption parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
CustomerEncryption |
Type | Description |
IOException |
parseFrom(InputStream input)
public static CustomerEncryption parseFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
CustomerEncryption |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomerEncryption parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
CustomerEncryption |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CustomerEncryption parseFrom(ByteBuffer data)
Name | Description |
data |
ByteBuffer |
Type | Description |
CustomerEncryption |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CustomerEncryption parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
CustomerEncryption |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CustomerEncryption> parser()
Type | Description |
Parser<CustomerEncryption> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj |
Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public CustomerEncryption getDefaultInstanceForType()
Type | Description |
CustomerEncryption |
getEncryptionAlgorithm()
public String getEncryptionAlgorithm()
The encryption algorithm.
string encryption_algorithm = 1;
Type | Description |
String |
The encryptionAlgorithm. |
getEncryptionAlgorithmBytes()
public ByteString getEncryptionAlgorithmBytes()
The encryption algorithm.
string encryption_algorithm = 1;
Type | Description |
ByteString |
The bytes for encryptionAlgorithm. |
getKeySha256Bytes()
public ByteString getKeySha256Bytes()
SHA256 hash value of the encryption key. In raw bytes format (not base64-encoded).
bytes key_sha256_bytes = 3;
Type | Description |
ByteString |
The keySha256Bytes. |
getParserForType()
public Parser<CustomerEncryption> getParserForType()
Type | Description |
Parser<CustomerEncryption> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public CustomerEncryption.Builder newBuilderForType()
Type | Description |
CustomerEncryption.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CustomerEncryption.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent |
BuilderParent |
Type | Description |
CustomerEncryption.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused |
UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public CustomerEncryption.Builder toBuilder()
Type | Description |
CustomerEncryption.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output |
CodedOutputStream |
Type | Description |
IOException |