Class StorageObjectData.CustomerEncryption (0.14.1)

public static final class StorageObjectData.CustomerEncryption extends GeneratedMessageV3 implements StorageObjectData.CustomerEncryptionOrBuilder

Describes the customer-specified mechanism used to store the data at rest.

Protobuf type google.events.cloud.storage.v1.StorageObjectData.CustomerEncryption

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > StorageObjectData.CustomerEncryption

Static Fields

ENCRYPTION_ALGORITHM_FIELD_NUMBER

public static final int ENCRYPTION_ALGORITHM_FIELD_NUMBER
Field Value
TypeDescription
int

KEY_SHA256_FIELD_NUMBER

public static final int KEY_SHA256_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StorageObjectData.CustomerEncryption getDefaultInstance()
Returns
TypeDescription
StorageObjectData.CustomerEncryption

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static StorageObjectData.CustomerEncryption.Builder newBuilder()
Returns
TypeDescription
StorageObjectData.CustomerEncryption.Builder

newBuilder(StorageObjectData.CustomerEncryption prototype)

public static StorageObjectData.CustomerEncryption.Builder newBuilder(StorageObjectData.CustomerEncryption prototype)
Parameter
NameDescription
prototypeStorageObjectData.CustomerEncryption
Returns
TypeDescription
StorageObjectData.CustomerEncryption.Builder

parseDelimitedFrom(InputStream input)

public static StorageObjectData.CustomerEncryption parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StorageObjectData.CustomerEncryption
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StorageObjectData.CustomerEncryption parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageObjectData.CustomerEncryption
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StorageObjectData.CustomerEncryption parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StorageObjectData.CustomerEncryption
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StorageObjectData.CustomerEncryption parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageObjectData.CustomerEncryption
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StorageObjectData.CustomerEncryption parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StorageObjectData.CustomerEncryption
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StorageObjectData.CustomerEncryption parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageObjectData.CustomerEncryption
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StorageObjectData.CustomerEncryption parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StorageObjectData.CustomerEncryption
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StorageObjectData.CustomerEncryption parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageObjectData.CustomerEncryption
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StorageObjectData.CustomerEncryption parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StorageObjectData.CustomerEncryption
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StorageObjectData.CustomerEncryption parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageObjectData.CustomerEncryption
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StorageObjectData.CustomerEncryption parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StorageObjectData.CustomerEncryption
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StorageObjectData.CustomerEncryption parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageObjectData.CustomerEncryption
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<StorageObjectData.CustomerEncryption> parser()
Returns
TypeDescription
Parser<CustomerEncryption>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public StorageObjectData.CustomerEncryption getDefaultInstanceForType()
Returns
TypeDescription
StorageObjectData.CustomerEncryption

getEncryptionAlgorithm()

public String getEncryptionAlgorithm()

The encryption algorithm.

string encryption_algorithm = 1;

Returns
TypeDescription
String

The encryptionAlgorithm.

getEncryptionAlgorithmBytes()

public ByteString getEncryptionAlgorithmBytes()

The encryption algorithm.

string encryption_algorithm = 1;

Returns
TypeDescription
ByteString

The bytes for encryptionAlgorithm.

getKeySha256()

public String getKeySha256()

SHA256 hash value of the encryption key.

string key_sha256 = 2;

Returns
TypeDescription
String

The keySha256.

getKeySha256Bytes()

public ByteString getKeySha256Bytes()

SHA256 hash value of the encryption key.

string key_sha256 = 2;

Returns
TypeDescription
ByteString

The bytes for keySha256.

getParserForType()

public Parser<StorageObjectData.CustomerEncryption> getParserForType()
Returns
TypeDescription
Parser<CustomerEncryption>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public StorageObjectData.CustomerEncryption.Builder newBuilderForType()
Returns
TypeDescription
StorageObjectData.CustomerEncryption.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StorageObjectData.CustomerEncryption.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StorageObjectData.CustomerEncryption.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public StorageObjectData.CustomerEncryption.Builder toBuilder()
Returns
TypeDescription
StorageObjectData.CustomerEncryption.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException