Class ShieldedInstanceIntegrityPolicy.Builder (1.52.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ShieldedInstanceIntegrityPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ShieldedInstanceIntegrityPolicy.Builder
Overrides

build()

public ShieldedInstanceIntegrityPolicy build()
Returns
Type Description
ShieldedInstanceIntegrityPolicy

buildPartial()

public ShieldedInstanceIntegrityPolicy buildPartial()
Returns
Type Description
ShieldedInstanceIntegrityPolicy

clear()

public ShieldedInstanceIntegrityPolicy.Builder clear()
Returns
Type Description
ShieldedInstanceIntegrityPolicy.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ShieldedInstanceIntegrityPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ShieldedInstanceIntegrityPolicy.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ShieldedInstanceIntegrityPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
ShieldedInstanceIntegrityPolicy.Builder

This builder for chaining.

clone()

public ShieldedInstanceIntegrityPolicy.Builder clone()
Returns
Type Description
ShieldedInstanceIntegrityPolicy.Builder
Overrides

getDefaultInstanceForType()

public ShieldedInstanceIntegrityPolicy getDefaultInstanceForType()
Returns
Type Description
ShieldedInstanceIntegrityPolicy

getDescriptorForType()

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

Whether the updateAutoLearnPolicy field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ShieldedInstanceIntegrityPolicy other)

public ShieldedInstanceIntegrityPolicy.Builder mergeFrom(ShieldedInstanceIntegrityPolicy other)
Parameter
Name Description
other ShieldedInstanceIntegrityPolicy
Returns
Type Description
ShieldedInstanceIntegrityPolicy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ShieldedInstanceIntegrityPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ShieldedInstanceIntegrityPolicy.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ShieldedInstanceIntegrityPolicy.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ShieldedInstanceIntegrityPolicy.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ShieldedInstanceIntegrityPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ShieldedInstanceIntegrityPolicy.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ShieldedInstanceIntegrityPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ShieldedInstanceIntegrityPolicy.Builder
Overrides

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

public ShieldedInstanceIntegrityPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ShieldedInstanceIntegrityPolicy.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ShieldedInstanceIntegrityPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value boolean

The updateAutoLearnPolicy to set.

Returns
Type Description
ShieldedInstanceIntegrityPolicy.Builder

This builder for chaining.