Class ConfidentialInstanceConfig.Builder (1.39.0)

public static final class ConfidentialInstanceConfig.Builder extends GeneratedMessageV3.Builder<ConfidentialInstanceConfig.Builder> implements ConfidentialInstanceConfigOrBuilder

A set of Confidential Instance options.

Protobuf type google.cloud.compute.v1.ConfidentialInstanceConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConfidentialInstanceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ConfidentialInstanceConfig.Builder
Overrides

build()

public ConfidentialInstanceConfig build()
Returns
TypeDescription
ConfidentialInstanceConfig

buildPartial()

public ConfidentialInstanceConfig buildPartial()
Returns
TypeDescription
ConfidentialInstanceConfig

clear()

public ConfidentialInstanceConfig.Builder clear()
Returns
TypeDescription
ConfidentialInstanceConfig.Builder
Overrides

clearEnableConfidentialCompute()

public ConfidentialInstanceConfig.Builder clearEnableConfidentialCompute()

Defines whether the instance should have confidential compute enabled.

optional bool enable_confidential_compute = 102135228;

Returns
TypeDescription
ConfidentialInstanceConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ConfidentialInstanceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ConfidentialInstanceConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ConfidentialInstanceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ConfidentialInstanceConfig.Builder
Overrides

clone()

public ConfidentialInstanceConfig.Builder clone()
Returns
TypeDescription
ConfidentialInstanceConfig.Builder
Overrides

getDefaultInstanceForType()

public ConfidentialInstanceConfig getDefaultInstanceForType()
Returns
TypeDescription
ConfidentialInstanceConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnableConfidentialCompute()

public boolean getEnableConfidentialCompute()

Defines whether the instance should have confidential compute enabled.

optional bool enable_confidential_compute = 102135228;

Returns
TypeDescription
boolean

The enableConfidentialCompute.

hasEnableConfidentialCompute()

public boolean hasEnableConfidentialCompute()

Defines whether the instance should have confidential compute enabled.

optional bool enable_confidential_compute = 102135228;

Returns
TypeDescription
boolean

Whether the enableConfidentialCompute field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ConfidentialInstanceConfig other)

public ConfidentialInstanceConfig.Builder mergeFrom(ConfidentialInstanceConfig other)
Parameter
NameDescription
otherConfidentialInstanceConfig
Returns
TypeDescription
ConfidentialInstanceConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ConfidentialInstanceConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ConfidentialInstanceConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConfidentialInstanceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ConfidentialInstanceConfig.Builder
Overrides

setEnableConfidentialCompute(boolean value)

public ConfidentialInstanceConfig.Builder setEnableConfidentialCompute(boolean value)

Defines whether the instance should have confidential compute enabled.

optional bool enable_confidential_compute = 102135228;

Parameter
NameDescription
valueboolean

The enableConfidentialCompute to set.

Returns
TypeDescription
ConfidentialInstanceConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ConfidentialInstanceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ConfidentialInstanceConfig.Builder
Overrides

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

public ConfidentialInstanceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ConfidentialInstanceConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ConfidentialInstanceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ConfidentialInstanceConfig.Builder
Overrides