Class IntraNodeVisibilityConfig.Builder (2.32.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.v1.IntraNodeVisibilityConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IntraNodeVisibilityConfig build()
Returns
TypeDescription
IntraNodeVisibilityConfig

buildPartial()

public IntraNodeVisibilityConfig buildPartial()
Returns
TypeDescription
IntraNodeVisibilityConfig

clear()

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

clearEnabled()

public IntraNodeVisibilityConfig.Builder clearEnabled()

Enables intra node visibility for this cluster.

bool enabled = 1;

Returns
TypeDescription
IntraNodeVisibilityConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public IntraNodeVisibilityConfig getDefaultInstanceForType()
Returns
TypeDescription
IntraNodeVisibilityConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

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

public IntraNodeVisibilityConfig.Builder mergeFrom(IntraNodeVisibilityConfig other)
Parameter
NameDescription
otherIntraNodeVisibilityConfig
Returns
TypeDescription
IntraNodeVisibilityConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnabled(boolean value)

public IntraNodeVisibilityConfig.Builder setEnabled(boolean value)

Enables intra node visibility for this cluster.

bool enabled = 1;

Parameter
NameDescription
valueboolean

The enabled to set.

Returns
TypeDescription
IntraNodeVisibilityConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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