Class GatewayAPIConfig.Builder (2.55.0)

public static final class GatewayAPIConfig.Builder extends GeneratedMessageV3.Builder<GatewayAPIConfig.Builder> implements GatewayAPIConfigOrBuilder

GatewayAPIConfig contains the desired config of Gateway API on this cluster.

Protobuf type google.container.v1.GatewayAPIConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GatewayAPIConfig build()
Returns
Type Description
GatewayAPIConfig

buildPartial()

public GatewayAPIConfig buildPartial()
Returns
Type Description
GatewayAPIConfig

clear()

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

clearChannel()

public GatewayAPIConfig.Builder clearChannel()

The Gateway API release channel to use for Gateway API.

.google.container.v1.GatewayAPIConfig.Channel channel = 1;

Returns
Type Description
GatewayAPIConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getChannel()

public GatewayAPIConfig.Channel getChannel()

The Gateway API release channel to use for Gateway API.

.google.container.v1.GatewayAPIConfig.Channel channel = 1;

Returns
Type Description
GatewayAPIConfig.Channel

The channel.

getChannelValue()

public int getChannelValue()

The Gateway API release channel to use for Gateway API.

.google.container.v1.GatewayAPIConfig.Channel channel = 1;

Returns
Type Description
int

The enum numeric value on the wire for channel.

getDefaultInstanceForType()

public GatewayAPIConfig getDefaultInstanceForType()
Returns
Type Description
GatewayAPIConfig

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GatewayAPIConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setChannel(GatewayAPIConfig.Channel value)

public GatewayAPIConfig.Builder setChannel(GatewayAPIConfig.Channel value)

The Gateway API release channel to use for Gateway API.

.google.container.v1.GatewayAPIConfig.Channel channel = 1;

Parameter
Name Description
value GatewayAPIConfig.Channel

The channel to set.

Returns
Type Description
GatewayAPIConfig.Builder

This builder for chaining.

setChannelValue(int value)

public GatewayAPIConfig.Builder setChannelValue(int value)

The Gateway API release channel to use for Gateway API.

.google.container.v1.GatewayAPIConfig.Channel channel = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for channel to set.

Returns
Type Description
GatewayAPIConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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