Class ShieldedInstanceIntegrityPolicy (1.23.0)

public final class ShieldedInstanceIntegrityPolicy extends GeneratedMessageV3 implements ShieldedInstanceIntegrityPolicyOrBuilder

The policy describes the baseline against which Instance boot integrity is measured.

Protobuf type google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ShieldedInstanceIntegrityPolicy

Static Fields

UPDATE_AUTO_LEARN_POLICY_FIELD_NUMBER

public static final int UPDATE_AUTO_LEARN_POLICY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ShieldedInstanceIntegrityPolicy getDefaultInstance()
Returns
TypeDescription
ShieldedInstanceIntegrityPolicy

getDescriptor()

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

newBuilder()

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

newBuilder(ShieldedInstanceIntegrityPolicy prototype)

public static ShieldedInstanceIntegrityPolicy.Builder newBuilder(ShieldedInstanceIntegrityPolicy prototype)
Parameter
NameDescription
prototypeShieldedInstanceIntegrityPolicy
Returns
TypeDescription
ShieldedInstanceIntegrityPolicy.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ShieldedInstanceIntegrityPolicy getDefaultInstanceForType()
Returns
TypeDescription
ShieldedInstanceIntegrityPolicy

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUpdateAutoLearnPolicy()

public boolean getUpdateAutoLearnPolicy()

Updates the integrity policy baseline using the measurements from the VM instance's most recent boot.

optional bool update_auto_learn_policy = 245490215;

Returns
TypeDescription
boolean

The updateAutoLearnPolicy.

hasUpdateAutoLearnPolicy()

public boolean hasUpdateAutoLearnPolicy()

Updates the integrity policy baseline using the measurements from the VM instance's most recent boot.

optional bool update_auto_learn_policy = 245490215;

Returns
TypeDescription
boolean

Whether the updateAutoLearnPolicy 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 ShieldedInstanceIntegrityPolicy.Builder newBuilderForType()
Returns
TypeDescription
ShieldedInstanceIntegrityPolicy.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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