Class WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder (0.25.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.v1beta.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder
Overrides

build()

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig build()
Returns
TypeDescription
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig

buildPartial()

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig buildPartial()
Returns
TypeDescription
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig

clear()

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig getDefaultInstanceForType()
Returns
TypeDescription
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig

getDescriptorForType()

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

The enableVtpm.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig other)

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder mergeFrom(WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig other)
Parameter
NameDescription
otherWorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig
Returns
TypeDescription
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The enableIntegrityMonitoring to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The enableSecureBoot to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The enableVtpm to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig.Builder
Overrides