Class ShieldedVmConfig.Builder (1.3.0)

public static final class ShieldedVmConfig.Builder extends GeneratedMessageV3.Builder<ShieldedVmConfig.Builder> implements ShieldedVmConfigOrBuilder

A set of Shielded Instance options. See Images using supported Shielded VM features.

Protobuf type google.cloud.vertexai.v1.ShieldedVmConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ShieldedVmConfig build()
Returns
Type Description
ShieldedVmConfig

buildPartial()

public ShieldedVmConfig buildPartial()
Returns
Type Description
ShieldedVmConfig

clear()

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

clearEnableSecureBoot()

public ShieldedVmConfig.Builder clearEnableSecureBoot()

Defines whether the instance has Secure Boot enabled.

Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails.

bool enable_secure_boot = 1;

Returns
Type Description
ShieldedVmConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ShieldedVmConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ShieldedVmConfig.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public ShieldedVmConfig getDefaultInstanceForType()
Returns
Type Description
ShieldedVmConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnableSecureBoot()

public boolean getEnableSecureBoot()

Defines whether the instance has Secure Boot enabled.

Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails.

bool enable_secure_boot = 1;

Returns
Type Description
boolean

The enableSecureBoot.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ShieldedVmConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnableSecureBoot(boolean value)

public ShieldedVmConfig.Builder setEnableSecureBoot(boolean value)

Defines whether the instance has Secure Boot enabled.

Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails.

bool enable_secure_boot = 1;

Parameter
Name Description
value boolean

The enableSecureBoot to set.

Returns
Type Description
ShieldedVmConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ShieldedVmConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ShieldedVmConfig.Builder
Overrides