Class Object.CustomerEncryption (2.1.10)

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

Fields

ENCRYPTION_ALGORITHM_FIELD_NUMBER

public static final int ENCRYPTION_ALGORITHM_FIELD_NUMBER
Field Value
TypeDescription
int

KEY_SHA256_BYTES_FIELD_NUMBER

public static final int KEY_SHA256_BYTES_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

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

getDefaultInstance()

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

getDefaultInstanceForType()

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

getDescriptor()

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

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.

getKeySha256Bytes()

public ByteString getKeySha256Bytes()

SHA256 hash value of the encryption key. In raw bytes format (not base64-encoded).

bytes key_sha256_bytes = 3;

Returns
TypeDescription
ByteString

The keySha256Bytes.

getParserForType()

public Parser<Object.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

newBuilder()

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

newBuilder(Object.CustomerEncryption prototype)

public static Object.CustomerEncryption.Builder newBuilder(Object.CustomerEncryption prototype)
Parameter
NameDescription
prototypeObject.CustomerEncryption
Returns
TypeDescription
Object.CustomerEncryption.Builder

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

toBuilder()

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

writeTo(CodedOutputStream output)

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