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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Object.CustomerEncryption.BuilderImplements
Object.CustomerEncryptionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Object.CustomerEncryption.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Object.CustomerEncryption.Builder |
build()
public Object.CustomerEncryption build()
Type | Description |
Object.CustomerEncryption |
buildPartial()
public Object.CustomerEncryption buildPartial()
Type | Description |
Object.CustomerEncryption |
clear()
public Object.CustomerEncryption.Builder clear()
Type | Description |
Object.CustomerEncryption.Builder |
clearEncryptionAlgorithm()
public Object.CustomerEncryption.Builder clearEncryptionAlgorithm()
The encryption algorithm.
string encryption_algorithm = 1;
Type | Description |
Object.CustomerEncryption.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Object.CustomerEncryption.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Object.CustomerEncryption.Builder |
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;
Type | Description |
Object.CustomerEncryption.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Object.CustomerEncryption.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Object.CustomerEncryption.Builder |
clone()
public Object.CustomerEncryption.Builder clone()
Type | Description |
Object.CustomerEncryption.Builder |
getDefaultInstanceForType()
public Object.CustomerEncryption getDefaultInstanceForType()
Type | Description |
Object.CustomerEncryption |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Object.CustomerEncryption.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Object.CustomerEncryption.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Object.CustomerEncryption.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Object.CustomerEncryption.Builder |
mergeFrom(Object.CustomerEncryption other)
public Object.CustomerEncryption.Builder mergeFrom(Object.CustomerEncryption other)
Name | Description |
other | Object.CustomerEncryption |
Type | Description |
Object.CustomerEncryption.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Object.CustomerEncryption.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Object.CustomerEncryption.Builder |
setEncryptionAlgorithm(String value)
public Object.CustomerEncryption.Builder setEncryptionAlgorithm(String value)
The encryption algorithm.
string encryption_algorithm = 1;
Name | Description |
value | String The encryptionAlgorithm to set. |
Type | Description |
Object.CustomerEncryption.Builder | This builder for chaining. |
setEncryptionAlgorithmBytes(ByteString value)
public Object.CustomerEncryption.Builder setEncryptionAlgorithmBytes(ByteString value)
The encryption algorithm.
string encryption_algorithm = 1;
Name | Description |
value | ByteString The bytes for encryptionAlgorithm to set. |
Type | Description |
Object.CustomerEncryption.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Object.CustomerEncryption.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Object.CustomerEncryption.Builder |
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;
Name | Description |
value | ByteString The keySha256Bytes to set. |
Type | Description |
Object.CustomerEncryption.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Object.CustomerEncryption.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Object.CustomerEncryption.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Object.CustomerEncryption.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Object.CustomerEncryption.Builder |