Class GatewayAPIConfig.Builder (2.38.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.v1beta1.GatewayAPIConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GatewayAPIConfig build()
Returns
TypeDescription
GatewayAPIConfig

buildPartial()

public GatewayAPIConfig buildPartial()
Returns
TypeDescription
GatewayAPIConfig

clear()

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

clearChannel()

public GatewayAPIConfig.Builder clearChannel()

The Gateway API release channel to use for Gateway API.

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

Returns
TypeDescription
GatewayAPIConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getChannel()

public GatewayAPIConfig.Channel getChannel()

The Gateway API release channel to use for Gateway API.

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

Returns
TypeDescription
GatewayAPIConfig.Channel

The channel.

getChannelValue()

public int getChannelValue()

The Gateway API release channel to use for Gateway API.

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

Returns
TypeDescription
int

The enum numeric value on the wire for channel.

getDefaultInstanceForType()

public GatewayAPIConfig getDefaultInstanceForType()
Returns
TypeDescription
GatewayAPIConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GatewayAPIConfig other)

public GatewayAPIConfig.Builder mergeFrom(GatewayAPIConfig other)
Parameter
NameDescription
otherGatewayAPIConfig
Returns
TypeDescription
GatewayAPIConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GatewayAPIConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1beta1.GatewayAPIConfig.Channel channel = 1;

Parameter
NameDescription
valueGatewayAPIConfig.Channel

The channel to set.

Returns
TypeDescription
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.v1beta1.GatewayAPIConfig.Channel channel = 1;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
GatewayAPIConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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