Class ShieldedInstanceIntegrityPolicy.Builder (1.14.0)

public static final class ShieldedInstanceIntegrityPolicy.Builder extends GeneratedMessageV3.Builder<ShieldedInstanceIntegrityPolicy.Builder> implements ShieldedInstanceIntegrityPolicyOrBuilder

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

Protobuf type google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ShieldedInstanceIntegrityPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ShieldedInstanceIntegrityPolicy.Builder
Overrides

build()

public ShieldedInstanceIntegrityPolicy build()
Returns
TypeDescription
ShieldedInstanceIntegrityPolicy

buildPartial()

public ShieldedInstanceIntegrityPolicy buildPartial()
Returns
TypeDescription
ShieldedInstanceIntegrityPolicy

clear()

public ShieldedInstanceIntegrityPolicy.Builder clear()
Returns
TypeDescription
ShieldedInstanceIntegrityPolicy.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ShieldedInstanceIntegrityPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ShieldedInstanceIntegrityPolicy.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ShieldedInstanceIntegrityPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ShieldedInstanceIntegrityPolicy.Builder
Overrides

clearUpdateAutoLearnPolicy()

public ShieldedInstanceIntegrityPolicy.Builder clearUpdateAutoLearnPolicy()

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
ShieldedInstanceIntegrityPolicy.Builder

This builder for chaining.

clone()

public ShieldedInstanceIntegrityPolicy.Builder clone()
Returns
TypeDescription
ShieldedInstanceIntegrityPolicy.Builder
Overrides

getDefaultInstanceForType()

public ShieldedInstanceIntegrityPolicy getDefaultInstanceForType()
Returns
TypeDescription
ShieldedInstanceIntegrityPolicy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ShieldedInstanceIntegrityPolicy other)

public ShieldedInstanceIntegrityPolicy.Builder mergeFrom(ShieldedInstanceIntegrityPolicy other)
Parameter
NameDescription
otherShieldedInstanceIntegrityPolicy
Returns
TypeDescription
ShieldedInstanceIntegrityPolicy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ShieldedInstanceIntegrityPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ShieldedInstanceIntegrityPolicy.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ShieldedInstanceIntegrityPolicy.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ShieldedInstanceIntegrityPolicy.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ShieldedInstanceIntegrityPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ShieldedInstanceIntegrityPolicy.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ShieldedInstanceIntegrityPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ShieldedInstanceIntegrityPolicy.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ShieldedInstanceIntegrityPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ShieldedInstanceIntegrityPolicy.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ShieldedInstanceIntegrityPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ShieldedInstanceIntegrityPolicy.Builder
Overrides

setUpdateAutoLearnPolicy(boolean value)

public ShieldedInstanceIntegrityPolicy.Builder setUpdateAutoLearnPolicy(boolean value)

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

optional bool update_auto_learn_policy = 245490215;

Parameter
NameDescription
valueboolean

The updateAutoLearnPolicy to set.

Returns
TypeDescription
ShieldedInstanceIntegrityPolicy.Builder

This builder for chaining.