- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.3
- 1.0.6
- 0.6.2
public static final class EncryptionConfig.Builder extends GeneratedMessageV3.Builder<EncryptionConfig.Builder> implements EncryptionConfigOrBuilder
Represents a custom encryption key configuration that can be applied to a resource. This will encrypt all disks in Virtual Machine.
Protobuf type google.cloud.notebooks.v1.EncryptionConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > EncryptionConfig.BuilderImplements
EncryptionConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EncryptionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
EncryptionConfig.Builder |
build()
public EncryptionConfig build()
Type | Description |
EncryptionConfig |
buildPartial()
public EncryptionConfig buildPartial()
Type | Description |
EncryptionConfig |
clear()
public EncryptionConfig.Builder clear()
Type | Description |
EncryptionConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public EncryptionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
EncryptionConfig.Builder |
clearKmsKey()
public EncryptionConfig.Builder clearKmsKey()
The Cloud KMS resource identifier of the customer-managed encryption key
used to protect a resource, such as a disks. It has the following
format:
projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}
string kms_key = 1;
Type | Description |
EncryptionConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public EncryptionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
EncryptionConfig.Builder |
clone()
public EncryptionConfig.Builder clone()
Type | Description |
EncryptionConfig.Builder |
getDefaultInstanceForType()
public EncryptionConfig getDefaultInstanceForType()
Type | Description |
EncryptionConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getKmsKey()
public String getKmsKey()
The Cloud KMS resource identifier of the customer-managed encryption key
used to protect a resource, such as a disks. It has the following
format:
projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}
string kms_key = 1;
Type | Description |
String | The kmsKey. |
getKmsKeyBytes()
public ByteString getKmsKeyBytes()
The Cloud KMS resource identifier of the customer-managed encryption key
used to protect a resource, such as a disks. It has the following
format:
projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}
string kms_key = 1;
Type | Description |
ByteString | The bytes for kmsKey. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(EncryptionConfig other)
public EncryptionConfig.Builder mergeFrom(EncryptionConfig other)
Name | Description |
other | EncryptionConfig |
Type | Description |
EncryptionConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EncryptionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
EncryptionConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public EncryptionConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
EncryptionConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EncryptionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
EncryptionConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public EncryptionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
EncryptionConfig.Builder |
setKmsKey(String value)
public EncryptionConfig.Builder setKmsKey(String value)
The Cloud KMS resource identifier of the customer-managed encryption key
used to protect a resource, such as a disks. It has the following
format:
projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}
string kms_key = 1;
Name | Description |
value | String The kmsKey to set. |
Type | Description |
EncryptionConfig.Builder | This builder for chaining. |
setKmsKeyBytes(ByteString value)
public EncryptionConfig.Builder setKmsKeyBytes(ByteString value)
The Cloud KMS resource identifier of the customer-managed encryption key
used to protect a resource, such as a disks. It has the following
format:
projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}
string kms_key = 1;
Name | Description |
value | ByteString The bytes for kmsKey to set. |
Type | Description |
EncryptionConfig.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EncryptionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
EncryptionConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final EncryptionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
EncryptionConfig.Builder |