Class ConfidentialNodes.Builder (2.7.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.v1beta1.ConfidentialNodes

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConfidentialNodes build()
Returns
TypeDescription
ConfidentialNodes

buildPartial()

public ConfidentialNodes buildPartial()
Returns
TypeDescription
ConfidentialNodes

clear()

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

clearEnabled()

public ConfidentialNodes.Builder clearEnabled()

Whether Confidential Nodes feature is enabled.

bool enabled = 1;

Returns
TypeDescription
ConfidentialNodes.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ConfidentialNodes getDefaultInstanceForType()
Returns
TypeDescription
ConfidentialNodes

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

Whether Confidential Nodes feature is enabled.

bool enabled = 1;

Returns
TypeDescription
boolean

The enabled.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ConfidentialNodes other)

public ConfidentialNodes.Builder mergeFrom(ConfidentialNodes other)
Parameter
NameDescription
otherConfidentialNodes
Returns
TypeDescription
ConfidentialNodes.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnabled(boolean value)

public ConfidentialNodes.Builder setEnabled(boolean value)

Whether Confidential Nodes feature is enabled.

bool enabled = 1;

Parameter
NameDescription
valueboolean

The enabled to set.

Returns
TypeDescription
ConfidentialNodes.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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