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 |
---|
Type | Description |
int | |
ENABLE_SECURE_BOOT_FIELD_NUMBER
public static final int ENABLE_SECURE_BOOT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ENABLE_VTPM_FIELD_NUMBER
public static final int ENABLE_VTPM_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ShieldedInstanceConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ShieldedInstanceConfig.Builder newBuilder()
newBuilder(ShieldedInstanceConfig prototype)
public static ShieldedInstanceConfig.Builder newBuilder(ShieldedInstanceConfig prototype)
public static ShieldedInstanceConfig parseDelimitedFrom(InputStream input)
public static ShieldedInstanceConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ShieldedInstanceConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ShieldedInstanceConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ShieldedInstanceConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ShieldedInstanceConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ShieldedInstanceConfig parseFrom(CodedInputStream input)
public static ShieldedInstanceConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ShieldedInstanceConfig parseFrom(InputStream input)
public static ShieldedInstanceConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ShieldedInstanceConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ShieldedInstanceConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ShieldedInstanceConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ShieldedInstanceConfig getDefaultInstanceForType()
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ShieldedInstanceConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ShieldedInstanceConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ShieldedInstanceConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides