Class FastSocket.Builder (2.23.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FastSocket build()
Returns
TypeDescription
FastSocket

buildPartial()

public FastSocket buildPartial()
Returns
TypeDescription
FastSocket

clear()

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

clearEnabled()

public FastSocket.Builder clearEnabled()

Whether Fast Socket features are enabled in the node pool.

bool enabled = 1;

Returns
TypeDescription
FastSocket.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public FastSocket getDefaultInstanceForType()
Returns
TypeDescription
FastSocket

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

Whether Fast Socket features are enabled in the node pool.

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

public FastSocket.Builder mergeFrom(FastSocket other)
Parameter
NameDescription
otherFastSocket
Returns
TypeDescription
FastSocket.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The enabled to set.

Returns
TypeDescription
FastSocket.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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