public static final class Object.CustomerEncryption.Builder extends GeneratedMessageV3.Builder<Object.CustomerEncryption.Builder> implements Object.CustomerEncryptionOrBuilder
Describes the customer-specified mechanism used to store the data at rest.
Protobuf type google.storage.v2.Object.CustomerEncryption
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Object.CustomerEncryption.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Object.CustomerEncryption build()
Returns
buildPartial()
public Object.CustomerEncryption buildPartial()
Returns
clear()
public Object.CustomerEncryption.Builder clear()
Returns
Overrides
clearEncryptionAlgorithm()
public Object.CustomerEncryption.Builder clearEncryptionAlgorithm()
The encryption algorithm.
string encryption_algorithm = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public Object.CustomerEncryption.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearKeySha256Bytes()
public Object.CustomerEncryption.Builder clearKeySha256Bytes()
SHA256 hash value of the encryption key.
In raw bytes format (not base64-encoded).
bytes key_sha256_bytes = 3;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Object.CustomerEncryption.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Object.CustomerEncryption.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Object.CustomerEncryption getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEncryptionAlgorithm()
public String getEncryptionAlgorithm()
The encryption algorithm.
string encryption_algorithm = 1;
Returns
Type |
Description |
String |
The encryptionAlgorithm.
|
getEncryptionAlgorithmBytes()
public ByteString getEncryptionAlgorithmBytes()
The encryption algorithm.
string encryption_algorithm = 1;
Returns
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;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public Object.CustomerEncryption.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Object.CustomerEncryption.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(Object.CustomerEncryption other)
public Object.CustomerEncryption.Builder mergeFrom(Object.CustomerEncryption other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Object.CustomerEncryption.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setEncryptionAlgorithm(String value)
public Object.CustomerEncryption.Builder setEncryptionAlgorithm(String value)
The encryption algorithm.
string encryption_algorithm = 1;
Parameter
Name |
Description |
value |
String
The encryptionAlgorithm to set.
|
Returns
setEncryptionAlgorithmBytes(ByteString value)
public Object.CustomerEncryption.Builder setEncryptionAlgorithmBytes(ByteString value)
The encryption algorithm.
string encryption_algorithm = 1;
Parameter
Name |
Description |
value |
ByteString
The bytes for encryptionAlgorithm to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Object.CustomerEncryption.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setKeySha256Bytes(ByteString value)
public Object.CustomerEncryption.Builder setKeySha256Bytes(ByteString value)
SHA256 hash value of the encryption key.
In raw bytes format (not base64-encoded).
bytes key_sha256_bytes = 3;
Parameter
Name |
Description |
value |
ByteString
The keySha256Bytes to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Object.CustomerEncryption.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Object.CustomerEncryption.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides