Class ConfidentialInstanceConfig.Builder (4.6.0)

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

Confidential Instance Config for clusters using Confidential VMs

Protobuf type google.cloud.dataproc.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()

Optional. Defines whether the instance should have confidential compute enabled.

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

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()

Optional. Defines whether the instance should have 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(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)

Optional. Defines whether the instance should have confidential compute enabled.

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

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