Class FastSocket.Builder (2.48.0)

public static final class FastSocket.Builder extends GeneratedMessageV3.Builder<FastSocket.Builder> implements FastSocketOrBuilder

Configuration of Fast Socket feature.

Protobuf type google.container.v1.FastSocket

Implements

FastSocketOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FastSocket build()
Returns
Type Description
FastSocket

buildPartial()

public FastSocket buildPartial()
Returns
Type Description
FastSocket

clear()

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

clearEnabled()

public FastSocket.Builder clearEnabled()

Whether Fast Socket features are enabled in the node pool.

bool enabled = 1;

Returns
Type Description
FastSocket.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public FastSocket getDefaultInstanceForType()
Returns
Type Description
FastSocket

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Whether Fast Socket features are enabled in the node pool.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnabled(boolean value)

public FastSocket.Builder setEnabled(boolean value)

Whether Fast Socket features are enabled in the node pool.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
FastSocket.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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