Class WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder (0.33.0)

public static final class WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder extends GeneratedMessageV3.Builder<WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder> implements WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfigOrBuilder

A set of Compute Engine Shielded instance options.

Protobuf type google.cloud.workstations.v1.WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder
Overrides

build()

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig build()
Returns
Type Description
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig

buildPartial()

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig buildPartial()
Returns
Type Description
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig

clear()

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder clear()
Returns
Type Description
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder
Overrides

clearEnableIntegrityMonitoring()

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder clearEnableIntegrityMonitoring()

Optional. Whether the instance has integrity monitoring enabled.

bool enable_integrity_monitoring = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder

This builder for chaining.

clearEnableSecureBoot()

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder clearEnableSecureBoot()

Optional. Whether the instance has Secure Boot enabled.

bool enable_secure_boot = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder

This builder for chaining.

clearEnableVtpm()

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder clearEnableVtpm()

Optional. Whether the instance has the vTPM enabled.

bool enable_vtpm = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder
Overrides

clone()

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder clone()
Returns
Type Description
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder
Overrides

getDefaultInstanceForType()

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig getDefaultInstanceForType()
Returns
Type Description
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig

getDescriptorForType()

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

getEnableIntegrityMonitoring()

public boolean getEnableIntegrityMonitoring()

Optional. Whether the instance has integrity monitoring enabled.

bool enable_integrity_monitoring = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableIntegrityMonitoring.

getEnableSecureBoot()

public boolean getEnableSecureBoot()

Optional. Whether the instance has Secure Boot enabled.

bool enable_secure_boot = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableSecureBoot.

getEnableVtpm()

public boolean getEnableVtpm()

Optional. Whether the instance has the vTPM enabled.

bool enable_vtpm = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableVtpm.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig other)

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder mergeFrom(WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig other)
Parameter
Name Description
other WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig
Returns
Type Description
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder
Overrides

setEnableIntegrityMonitoring(boolean value)

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder setEnableIntegrityMonitoring(boolean value)

Optional. Whether the instance has integrity monitoring enabled.

bool enable_integrity_monitoring = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The enableIntegrityMonitoring to set.

Returns
Type Description
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder

This builder for chaining.

setEnableSecureBoot(boolean value)

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder setEnableSecureBoot(boolean value)

Optional. Whether the instance has Secure Boot enabled.

bool enable_secure_boot = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The enableSecureBoot to set.

Returns
Type Description
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder

This builder for chaining.

setEnableVtpm(boolean value)

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder setEnableVtpm(boolean value)

Optional. Whether the instance has the vTPM enabled.

bool enable_vtpm = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The enableVtpm to set.

Returns
Type Description
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder
Overrides

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder
Overrides