Class IntraNodeVisibilityConfig.Builder (2.56.0)

public static final class IntraNodeVisibilityConfig.Builder extends GeneratedMessageV3.Builder<IntraNodeVisibilityConfig.Builder> implements IntraNodeVisibilityConfigOrBuilder

IntraNodeVisibilityConfig contains the desired config of the intra-node visibility on this cluster.

Protobuf type google.container.v1beta1.IntraNodeVisibilityConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IntraNodeVisibilityConfig build()
Returns
Type Description
IntraNodeVisibilityConfig

buildPartial()

public IntraNodeVisibilityConfig buildPartial()
Returns
Type Description
IntraNodeVisibilityConfig

clear()

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

clearEnabled()

public IntraNodeVisibilityConfig.Builder clearEnabled()

Enables intra node visibility for this cluster.

bool enabled = 1;

Returns
Type Description
IntraNodeVisibilityConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public IntraNodeVisibilityConfig getDefaultInstanceForType()
Returns
Type Description
IntraNodeVisibilityConfig

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Enables intra node visibility for 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(IntraNodeVisibilityConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnabled(boolean value)

public IntraNodeVisibilityConfig.Builder setEnabled(boolean value)

Enables intra node visibility for this cluster.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
IntraNodeVisibilityConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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