Class WorkstationConfig.Host.GceInstance.GceConfidentialInstanceConfig.Builder (0.41.0)

public static final class WorkstationConfig.Host.GceInstance.GceConfidentialInstanceConfig.Builder extends GeneratedMessageV3.Builder<WorkstationConfig.Host.GceInstance.GceConfidentialInstanceConfig.Builder> implements WorkstationConfig.Host.GceInstance.GceConfidentialInstanceConfigOrBuilder

A set of Compute Engine Confidential VM instance options.

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > WorkstationConfig.Host.GceInstance.GceConfidentialInstanceConfig.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.GceConfidentialInstanceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WorkstationConfig.Host.GceInstance.GceConfidentialInstanceConfig.Builder
Overrides

build()

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

buildPartial()

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

clear()

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

clearEnableConfidentialCompute()

public WorkstationConfig.Host.GceInstance.GceConfidentialInstanceConfig.Builder clearEnableConfidentialCompute()

Optional. Whether the instance has confidential compute enabled.

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

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getEnableConfidentialCompute()

public boolean getEnableConfidentialCompute()

Optional. Whether the instance has confidential compute enabled.

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

Returns
Type Description
boolean

The enableConfidentialCompute.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WorkstationConfig.Host.GceInstance.GceConfidentialInstanceConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnableConfidentialCompute(boolean value)

public WorkstationConfig.Host.GceInstance.GceConfidentialInstanceConfig.Builder setEnableConfidentialCompute(boolean value)

Optional. Whether the instance has confidential compute enabled.

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

Parameter
Name Description
value boolean

The enableConfidentialCompute to set.

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

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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