Class ShieldedNodes.Builder (2.13.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ShieldedNodes build()
Returns
TypeDescription
ShieldedNodes

buildPartial()

public ShieldedNodes buildPartial()
Returns
TypeDescription
ShieldedNodes

clear()

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

clearEnabled()

public ShieldedNodes.Builder clearEnabled()

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

bool enabled = 1;

Returns
TypeDescription
ShieldedNodes.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ShieldedNodes getDefaultInstanceForType()
Returns
TypeDescription
ShieldedNodes

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

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

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

public ShieldedNodes.Builder mergeFrom(ShieldedNodes other)
Parameter
NameDescription
otherShieldedNodes
Returns
TypeDescription
ShieldedNodes.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ShieldedNodes.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The enabled to set.

Returns
TypeDescription
ShieldedNodes.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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