Class ShieldedInstanceConfig (1.40.0)

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
TypeDescription
int

ENABLE_SECURE_BOOT_FIELD_NUMBER

public static final int ENABLE_SECURE_BOOT_FIELD_NUMBER
Field Value
TypeDescription
int

ENABLE_VTPM_FIELD_NUMBER

public static final int ENABLE_VTPM_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ShieldedInstanceConfig getDefaultInstance()
Returns
TypeDescription
ShieldedInstanceConfig

getDescriptor()

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

newBuilder()

public static ShieldedInstanceConfig.Builder newBuilder()
Returns
TypeDescription
ShieldedInstanceConfig.Builder

newBuilder(ShieldedInstanceConfig prototype)

public static ShieldedInstanceConfig.Builder newBuilder(ShieldedInstanceConfig prototype)
Parameter
NameDescription
prototypeShieldedInstanceConfig
Returns
TypeDescription
ShieldedInstanceConfig.Builder

parseDelimitedFrom(InputStream input)

public static ShieldedInstanceConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ShieldedInstanceConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ShieldedInstanceConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ShieldedInstanceConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ShieldedInstanceConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ShieldedInstanceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ShieldedInstanceConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ShieldedInstanceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ShieldedInstanceConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ShieldedInstanceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ShieldedInstanceConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ShieldedInstanceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ShieldedInstanceConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ShieldedInstanceConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ShieldedInstanceConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ShieldedInstanceConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ShieldedInstanceConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ShieldedInstanceConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ShieldedInstanceConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ShieldedInstanceConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ShieldedInstanceConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ShieldedInstanceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ShieldedInstanceConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ShieldedInstanceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ShieldedInstanceConfig> parser()
Returns
TypeDescription
Parser<ShieldedInstanceConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ShieldedInstanceConfig getDefaultInstanceForType()
Returns
TypeDescription
ShieldedInstanceConfig

getEnableIntegrityMonitoring()

public boolean getEnableIntegrityMonitoring()

Defines whether the instance has integrity monitoring enabled. Enabled by default.

optional bool enable_integrity_monitoring = 409071030;

Returns
TypeDescription
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
TypeDescription
boolean

The enableSecureBoot.

getEnableVtpm()

public boolean getEnableVtpm()

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

optional bool enable_vtpm = 181858935;

Returns
TypeDescription
boolean

The enableVtpm.

getParserForType()

public Parser<ShieldedInstanceConfig> getParserForType()
Returns
TypeDescription
Parser<ShieldedInstanceConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasEnableIntegrityMonitoring()

public boolean hasEnableIntegrityMonitoring()

Defines whether the instance has integrity monitoring enabled. Enabled by default.

optional bool enable_integrity_monitoring = 409071030;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the enableVtpm field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ShieldedInstanceConfig.Builder newBuilderForType()
Returns
TypeDescription
ShieldedInstanceConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ShieldedInstanceConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ShieldedInstanceConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ShieldedInstanceConfig.Builder toBuilder()
Returns
TypeDescription
ShieldedInstanceConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException