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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ShieldedInstanceIntegrityPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ShieldedInstanceIntegrityPolicy build()
Returns
buildPartial()
public ShieldedInstanceIntegrityPolicy buildPartial()
Returns
clear()
public ShieldedInstanceIntegrityPolicy.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ShieldedInstanceIntegrityPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ShieldedInstanceIntegrityPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public ShieldedInstanceIntegrityPolicy.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ShieldedInstanceIntegrityPolicy getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ShieldedInstanceIntegrityPolicy other)
public ShieldedInstanceIntegrityPolicy.Builder mergeFrom(ShieldedInstanceIntegrityPolicy other)
Parameter
Returns
public ShieldedInstanceIntegrityPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ShieldedInstanceIntegrityPolicy.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ShieldedInstanceIntegrityPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ShieldedInstanceIntegrityPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ShieldedInstanceIntegrityPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ShieldedInstanceIntegrityPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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