public final class ShieldedInstanceConfig extends GeneratedMessageV3 implements ShieldedInstanceConfigOrBuilder
A set of Shielded Instance options.
Protobuf type google.cloud.compute.v1.ShieldedInstanceConfig
Static Fields
ENABLE_INTEGRITY_MONITORING_FIELD_NUMBER
public static final int ENABLE_INTEGRITY_MONITORING_FIELD_NUMBER
Field Value
ENABLE_SECURE_BOOT_FIELD_NUMBER
public static final int ENABLE_SECURE_BOOT_FIELD_NUMBER
Field Value
ENABLE_VTPM_FIELD_NUMBER
public static final int ENABLE_VTPM_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ShieldedInstanceConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ShieldedInstanceConfig.Builder newBuilder()
Returns
newBuilder(ShieldedInstanceConfig prototype)
public static ShieldedInstanceConfig.Builder newBuilder(ShieldedInstanceConfig prototype)
Parameter
Returns
public static ShieldedInstanceConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ShieldedInstanceConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ShieldedInstanceConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ShieldedInstanceConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ShieldedInstanceConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ShieldedInstanceConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ShieldedInstanceConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ShieldedInstanceConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ShieldedInstanceConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ShieldedInstanceConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ShieldedInstanceConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ShieldedInstanceConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ShieldedInstanceConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ShieldedInstanceConfig getDefaultInstanceForType()
Returns
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.
|
getParserForType()
public Parser<ShieldedInstanceConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ShieldedInstanceConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ShieldedInstanceConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ShieldedInstanceConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions