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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

The enableConfidentialCompute.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(WorkstationConfig.Host.GceInstance.GceConfidentialInstanceConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The enableConfidentialCompute to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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