public static final class Object.CustomerEncryption extends GeneratedMessageV3 implements Object.CustomerEncryptionOrBuilder
Describes the customer-specified mechanism used to store the data at rest.
Protobuf type google.storage.v2.Object.CustomerEncryption
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Object.CustomerEncryptionImplements
Object.CustomerEncryptionOrBuilderFields
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 |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstance()
public static Object.CustomerEncryption getDefaultInstance()
Type | Description |
Object.CustomerEncryption |
getDefaultInstanceForType()
public Object.CustomerEncryption getDefaultInstanceForType()
Type | Description |
Object.CustomerEncryption |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
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<Object.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 |
newBuilder()
public static Object.CustomerEncryption.Builder newBuilder()
Type | Description |
Object.CustomerEncryption.Builder |
newBuilder(Object.CustomerEncryption prototype)
public static Object.CustomerEncryption.Builder newBuilder(Object.CustomerEncryption prototype)
Name | Description |
prototype | Object.CustomerEncryption |
Type | Description |
Object.CustomerEncryption.Builder |
newBuilderForType()
public Object.CustomerEncryption.Builder newBuilderForType()
Type | Description |
Object.CustomerEncryption.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Object.CustomerEncryption.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Object.CustomerEncryption.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static Object.CustomerEncryption parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Object.CustomerEncryption |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Object.CustomerEncryption parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Object.CustomerEncryption |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Object.CustomerEncryption parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Object.CustomerEncryption |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Object.CustomerEncryption parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Object.CustomerEncryption |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Object.CustomerEncryption parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Object.CustomerEncryption |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Object.CustomerEncryption parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Object.CustomerEncryption |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Object.CustomerEncryption parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Object.CustomerEncryption |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Object.CustomerEncryption parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Object.CustomerEncryption |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Object.CustomerEncryption parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Object.CustomerEncryption |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Object.CustomerEncryption parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Object.CustomerEncryption |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Object.CustomerEncryption parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Object.CustomerEncryption |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Object.CustomerEncryption parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Object.CustomerEncryption |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Object.CustomerEncryption> parser()
Type | Description |
Parser<CustomerEncryption> |
toBuilder()
public Object.CustomerEncryption.Builder toBuilder()
Type | Description |
Object.CustomerEncryption.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |