public static final class ShieldedInstanceConfig.Builder extends GeneratedMessageV3.Builder<ShieldedInstanceConfig.Builder> implements ShieldedInstanceConfigOrBuilder
A set of Shielded Instance options.
Protobuf type google.cloud.compute.v1.ShieldedInstanceConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ShieldedInstanceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ShieldedInstanceConfig build()
buildPartial()
public ShieldedInstanceConfig buildPartial()
clear()
public ShieldedInstanceConfig.Builder clear()
Overrides
clearEnableIntegrityMonitoring()
public ShieldedInstanceConfig.Builder clearEnableIntegrityMonitoring()
Defines whether the instance has integrity monitoring enabled. Enabled by default.
optional bool enable_integrity_monitoring = 409071030;
clearEnableSecureBoot()
public ShieldedInstanceConfig.Builder clearEnableSecureBoot()
Defines whether the instance has Secure Boot enabled. Disabled by default.
optional bool enable_secure_boot = 123568638;
clearEnableVtpm()
public ShieldedInstanceConfig.Builder clearEnableVtpm()
Defines whether the instance has the vTPM enabled. Enabled by default.
optional bool enable_vtpm = 181858935;
clearField(Descriptors.FieldDescriptor field)
public ShieldedInstanceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ShieldedInstanceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ShieldedInstanceConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public ShieldedInstanceConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEnableIntegrityMonitoring()
public boolean getEnableIntegrityMonitoring()
Defines whether the instance has integrity monitoring enabled. Enabled by default.
optional bool enable_integrity_monitoring = 409071030;
Returns |
Type |
Description |
boolean |
The enableIntegrityMonitoring.
|
getEnableSecureBoot()
public boolean getEnableSecureBoot()
Defines whether the instance has Secure Boot enabled. Disabled by default.
optional bool enable_secure_boot = 123568638;
Returns |
Type |
Description |
boolean |
The enableSecureBoot.
|
getEnableVtpm()
public boolean getEnableVtpm()
Defines whether the instance has the vTPM enabled. Enabled by default.
optional bool enable_vtpm = 181858935;
Returns |
Type |
Description |
boolean |
The enableVtpm.
|
hasEnableIntegrityMonitoring()
public boolean hasEnableIntegrityMonitoring()
Defines whether the instance has integrity monitoring enabled. Enabled by default.
optional bool enable_integrity_monitoring = 409071030;
Returns |
Type |
Description |
boolean |
Whether the enableIntegrityMonitoring field is set.
|
hasEnableSecureBoot()
public boolean hasEnableSecureBoot()
Defines whether the instance has Secure Boot enabled. Disabled by default.
optional bool enable_secure_boot = 123568638;
Returns |
Type |
Description |
boolean |
Whether the enableSecureBoot field is set.
|
hasEnableVtpm()
public boolean hasEnableVtpm()
Defines whether the instance has the vTPM enabled. Enabled by default.
optional bool enable_vtpm = 181858935;
Returns |
Type |
Description |
boolean |
Whether the enableVtpm field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ShieldedInstanceConfig other)
public ShieldedInstanceConfig.Builder mergeFrom(ShieldedInstanceConfig other)
public ShieldedInstanceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ShieldedInstanceConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ShieldedInstanceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEnableIntegrityMonitoring(boolean value)
public ShieldedInstanceConfig.Builder setEnableIntegrityMonitoring(boolean value)
Defines whether the instance has integrity monitoring enabled. Enabled by default.
optional bool enable_integrity_monitoring = 409071030;
Parameter |
Name |
Description |
value |
boolean
The enableIntegrityMonitoring to set.
|
setEnableSecureBoot(boolean value)
public ShieldedInstanceConfig.Builder setEnableSecureBoot(boolean value)
Defines whether the instance has Secure Boot enabled. Disabled by default.
optional bool enable_secure_boot = 123568638;
Parameter |
Name |
Description |
value |
boolean
The enableSecureBoot to set.
|
setEnableVtpm(boolean value)
public ShieldedInstanceConfig.Builder setEnableVtpm(boolean value)
Defines whether the instance has the vTPM enabled. Enabled by default.
optional bool enable_vtpm = 181858935;
Parameter |
Name |
Description |
value |
boolean
The enableVtpm to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ShieldedInstanceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ShieldedInstanceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ShieldedInstanceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides