Class ConfidentialNodes.Builder (2.58.0)

public static final class ConfidentialNodes.Builder extends GeneratedMessageV3.Builder<ConfidentialNodes.Builder> implements ConfidentialNodesOrBuilder

ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs.

Protobuf type google.container.v1.ConfidentialNodes

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConfidentialNodes.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ConfidentialNodes.Builder
Overrides

build()

public ConfidentialNodes build()
Returns
Type Description
ConfidentialNodes

buildPartial()

public ConfidentialNodes buildPartial()
Returns
Type Description
ConfidentialNodes

clear()

public ConfidentialNodes.Builder clear()
Returns
Type Description
ConfidentialNodes.Builder
Overrides

clearEnabled()

public ConfidentialNodes.Builder clearEnabled()

Whether Confidential Nodes feature is enabled.

bool enabled = 1;

Returns
Type Description
ConfidentialNodes.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ConfidentialNodes.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ConfidentialNodes.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ConfidentialNodes.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ConfidentialNodes.Builder
Overrides

clone()

public ConfidentialNodes.Builder clone()
Returns
Type Description
ConfidentialNodes.Builder
Overrides

getDefaultInstanceForType()

public ConfidentialNodes getDefaultInstanceForType()
Returns
Type Description
ConfidentialNodes

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Whether Confidential Nodes feature is enabled.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ConfidentialNodes other)

public ConfidentialNodes.Builder mergeFrom(ConfidentialNodes other)
Parameter
Name Description
other ConfidentialNodes
Returns
Type Description
ConfidentialNodes.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConfidentialNodes.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConfidentialNodes.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ConfidentialNodes.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ConfidentialNodes.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConfidentialNodes.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ConfidentialNodes.Builder
Overrides

setEnabled(boolean value)

public ConfidentialNodes.Builder setEnabled(boolean value)

Whether Confidential Nodes feature is enabled.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
ConfidentialNodes.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ConfidentialNodes.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ConfidentialNodes.Builder
Overrides

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ConfidentialNodes.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ConfidentialNodes.Builder
Overrides