public static final class Instance.ShieldedInstanceConfig.Builder extends GeneratedMessageV3.Builder<Instance.ShieldedInstanceConfig.Builder> implements Instance.ShieldedInstanceConfigOrBuilder
A set of Shielded Instance options.
Check [Images using supported Shielded VM features]
Not all combinations are valid.
Protobuf type google.cloud.notebooks.v1.Instance.ShieldedInstanceConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Instance.ShieldedInstanceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Instance.ShieldedInstanceConfig build()
Returns
buildPartial()
public Instance.ShieldedInstanceConfig buildPartial()
Returns
clear()
public Instance.ShieldedInstanceConfig.Builder clear()
Returns
Overrides
clearEnableIntegrityMonitoring()
public Instance.ShieldedInstanceConfig.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
clearEnableSecureBoot()
public Instance.ShieldedInstanceConfig.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
clearEnableVtpm()
public Instance.ShieldedInstanceConfig.Builder clearEnableVtpm()
Defines whether the instance has the vTPM enabled. Enabled by default.
bool enable_vtpm = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public Instance.ShieldedInstanceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Instance.ShieldedInstanceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Instance.ShieldedInstanceConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Instance.ShieldedInstanceConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Type | Description |
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
Type | Description |
boolean | The enableSecureBoot.
|
getEnableVtpm()
public boolean getEnableVtpm()
Defines whether the instance has the vTPM enabled. Enabled by default.
bool enable_vtpm = 2;
Returns
Type | Description |
boolean | The enableVtpm.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Instance.ShieldedInstanceConfig other)
public Instance.ShieldedInstanceConfig.Builder mergeFrom(Instance.ShieldedInstanceConfig other)
Parameter
Returns
public Instance.ShieldedInstanceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Instance.ShieldedInstanceConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Instance.ShieldedInstanceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setEnableIntegrityMonitoring(boolean value)
public Instance.ShieldedInstanceConfig.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
Name | Description |
value | boolean
The enableIntegrityMonitoring to set.
|
Returns
setEnableSecureBoot(boolean value)
public Instance.ShieldedInstanceConfig.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
Name | Description |
value | boolean
The enableSecureBoot to set.
|
Returns
setEnableVtpm(boolean value)
public Instance.ShieldedInstanceConfig.Builder setEnableVtpm(boolean value)
Defines whether the instance has the vTPM enabled. Enabled by default.
bool enable_vtpm = 2;
Parameter
Name | Description |
value | boolean
The enableVtpm to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Instance.ShieldedInstanceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Instance.ShieldedInstanceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Instance.ShieldedInstanceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides