Class ShieldedNodes.Builder (2.45.0)

public static final class ShieldedNodes.Builder extends GeneratedMessageV3.Builder<ShieldedNodes.Builder> implements ShieldedNodesOrBuilder

Configuration of Shielded Nodes feature.

Protobuf type google.container.v1.ShieldedNodes

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ShieldedNodes build()
Returns
Type Description
ShieldedNodes

buildPartial()

public ShieldedNodes buildPartial()
Returns
Type Description
ShieldedNodes

clear()

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

clearEnabled()

public ShieldedNodes.Builder clearEnabled()

Whether Shielded Nodes features are enabled on all nodes in this cluster.

bool enabled = 1;

Returns
Type Description
ShieldedNodes.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ShieldedNodes getDefaultInstanceForType()
Returns
Type Description
ShieldedNodes

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Whether Shielded Nodes features are enabled on all nodes in this cluster.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnabled(boolean value)

public ShieldedNodes.Builder setEnabled(boolean value)

Whether Shielded Nodes features are enabled on all nodes in this cluster.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
ShieldedNodes.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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