Class RuntimeShieldedInstanceConfig.Builder (1.5.0)

public static final class RuntimeShieldedInstanceConfig.Builder extends GeneratedMessageV3.Builder<RuntimeShieldedInstanceConfig.Builder> implements RuntimeShieldedInstanceConfigOrBuilder

A set of Shielded Instance options. Check Images using supported Shielded VM features. Not all combinations are valid.

Protobuf type google.cloud.notebooks.v1.RuntimeShieldedInstanceConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RuntimeShieldedInstanceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RuntimeShieldedInstanceConfig.Builder
Overrides

build()

public RuntimeShieldedInstanceConfig build()
Returns
TypeDescription
RuntimeShieldedInstanceConfig

buildPartial()

public RuntimeShieldedInstanceConfig buildPartial()
Returns
TypeDescription
RuntimeShieldedInstanceConfig

clear()

public RuntimeShieldedInstanceConfig.Builder clear()
Returns
TypeDescription
RuntimeShieldedInstanceConfig.Builder
Overrides

clearEnableIntegrityMonitoring()

public RuntimeShieldedInstanceConfig.Builder clearEnableIntegrityMonitoring()

Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created. Enabled by default.

bool enable_integrity_monitoring = 3;

Returns
TypeDescription
RuntimeShieldedInstanceConfig.Builder

This builder for chaining.

clearEnableSecureBoot()

public RuntimeShieldedInstanceConfig.Builder clearEnableSecureBoot()

Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails. Disabled by default.

bool enable_secure_boot = 1;

Returns
TypeDescription
RuntimeShieldedInstanceConfig.Builder

This builder for chaining.

clearEnableVtpm()

public RuntimeShieldedInstanceConfig.Builder clearEnableVtpm()

Defines whether the instance has the vTPM enabled. Enabled by default.

bool enable_vtpm = 2;

Returns
TypeDescription
RuntimeShieldedInstanceConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RuntimeShieldedInstanceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RuntimeShieldedInstanceConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RuntimeShieldedInstanceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RuntimeShieldedInstanceConfig.Builder
Overrides

clone()

public RuntimeShieldedInstanceConfig.Builder clone()
Returns
TypeDescription
RuntimeShieldedInstanceConfig.Builder
Overrides

getDefaultInstanceForType()

public RuntimeShieldedInstanceConfig getDefaultInstanceForType()
Returns
TypeDescription
RuntimeShieldedInstanceConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnableIntegrityMonitoring()

public boolean getEnableIntegrityMonitoring()

Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created. Enabled by default.

bool enable_integrity_monitoring = 3;

Returns
TypeDescription
boolean

The enableIntegrityMonitoring.

getEnableSecureBoot()

public boolean getEnableSecureBoot()

Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails. Disabled by default.

bool enable_secure_boot = 1;

Returns
TypeDescription
boolean

The enableSecureBoot.

getEnableVtpm()

public boolean getEnableVtpm()

Defines whether the instance has the vTPM enabled. Enabled by default.

bool enable_vtpm = 2;

Returns
TypeDescription
boolean

The enableVtpm.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RuntimeShieldedInstanceConfig other)

public RuntimeShieldedInstanceConfig.Builder mergeFrom(RuntimeShieldedInstanceConfig other)
Parameter
NameDescription
otherRuntimeShieldedInstanceConfig
Returns
TypeDescription
RuntimeShieldedInstanceConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RuntimeShieldedInstanceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeShieldedInstanceConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RuntimeShieldedInstanceConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RuntimeShieldedInstanceConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeShieldedInstanceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RuntimeShieldedInstanceConfig.Builder
Overrides

setEnableIntegrityMonitoring(boolean value)

public RuntimeShieldedInstanceConfig.Builder setEnableIntegrityMonitoring(boolean value)

Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created. Enabled by default.

bool enable_integrity_monitoring = 3;

Parameter
NameDescription
valueboolean

The enableIntegrityMonitoring to set.

Returns
TypeDescription
RuntimeShieldedInstanceConfig.Builder

This builder for chaining.

setEnableSecureBoot(boolean value)

public RuntimeShieldedInstanceConfig.Builder setEnableSecureBoot(boolean value)

Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails. Disabled by default.

bool enable_secure_boot = 1;

Parameter
NameDescription
valueboolean

The enableSecureBoot to set.

Returns
TypeDescription
RuntimeShieldedInstanceConfig.Builder

This builder for chaining.

setEnableVtpm(boolean value)

public RuntimeShieldedInstanceConfig.Builder setEnableVtpm(boolean value)

Defines whether the instance has the vTPM enabled. Enabled by default.

bool enable_vtpm = 2;

Parameter
NameDescription
valueboolean

The enableVtpm to set.

Returns
TypeDescription
RuntimeShieldedInstanceConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RuntimeShieldedInstanceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RuntimeShieldedInstanceConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RuntimeShieldedInstanceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RuntimeShieldedInstanceConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeShieldedInstanceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RuntimeShieldedInstanceConfig.Builder
Overrides