Class GatewayAPIConfig (2.21.0)

public final class GatewayAPIConfig extends GeneratedMessageV3 implements GatewayAPIConfigOrBuilder

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

Protobuf type google.container.v1.GatewayAPIConfig

Static Fields

CHANNEL_FIELD_NUMBER

public static final int CHANNEL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GatewayAPIConfig getDefaultInstance()
Returns
TypeDescription
GatewayAPIConfig

getDescriptor()

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

newBuilder()

public static GatewayAPIConfig.Builder newBuilder()
Returns
TypeDescription
GatewayAPIConfig.Builder

newBuilder(GatewayAPIConfig prototype)

public static GatewayAPIConfig.Builder newBuilder(GatewayAPIConfig prototype)
Parameter
NameDescription
prototypeGatewayAPIConfig
Returns
TypeDescription
GatewayAPIConfig.Builder

parseDelimitedFrom(InputStream input)

public static GatewayAPIConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GatewayAPIConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GatewayAPIConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GatewayAPIConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GatewayAPIConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GatewayAPIConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GatewayAPIConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GatewayAPIConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GatewayAPIConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GatewayAPIConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GatewayAPIConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GatewayAPIConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GatewayAPIConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GatewayAPIConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GatewayAPIConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GatewayAPIConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GatewayAPIConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GatewayAPIConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GatewayAPIConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GatewayAPIConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GatewayAPIConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GatewayAPIConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GatewayAPIConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GatewayAPIConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GatewayAPIConfig> parser()
Returns
TypeDescription
Parser<GatewayAPIConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getChannel()

public GatewayAPIConfig.Channel getChannel()

The Gateway API release channel to use for Gateway API.

.google.container.v1.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.v1.GatewayAPIConfig.Channel channel = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for channel.

getDefaultInstanceForType()

public GatewayAPIConfig getDefaultInstanceForType()
Returns
TypeDescription
GatewayAPIConfig

getParserForType()

public Parser<GatewayAPIConfig> getParserForType()
Returns
TypeDescription
Parser<GatewayAPIConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GatewayAPIConfig.Builder newBuilderForType()
Returns
TypeDescription
GatewayAPIConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GatewayAPIConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GatewayAPIConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GatewayAPIConfig.Builder toBuilder()
Returns
TypeDescription
GatewayAPIConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException