Class ReleaseChannel (2.49.0)

public final class ReleaseChannel extends GeneratedMessageV3 implements ReleaseChannelOrBuilder

ReleaseChannel indicates which release channel a cluster is subscribed to. Release channels are arranged in order of risk.

When a cluster is subscribed to a release channel, Google maintains both the master version and the node version. Node auto-upgrade defaults to true and cannot be disabled.

Protobuf type google.container.v1.ReleaseChannel

Static Fields

CHANNEL_FIELD_NUMBER

public static final int CHANNEL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReleaseChannel getDefaultInstance()
Returns
Type Description
ReleaseChannel

getDescriptor()

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

newBuilder()

public static ReleaseChannel.Builder newBuilder()
Returns
Type Description
ReleaseChannel.Builder

newBuilder(ReleaseChannel prototype)

public static ReleaseChannel.Builder newBuilder(ReleaseChannel prototype)
Parameter
Name Description
prototype ReleaseChannel
Returns
Type Description
ReleaseChannel.Builder

parseDelimitedFrom(InputStream input)

public static ReleaseChannel parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReleaseChannel
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReleaseChannel parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReleaseChannel
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ReleaseChannel parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ReleaseChannel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReleaseChannel parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReleaseChannel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReleaseChannel parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ReleaseChannel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReleaseChannel parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReleaseChannel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReleaseChannel parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ReleaseChannel
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReleaseChannel parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReleaseChannel
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ReleaseChannel parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReleaseChannel
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReleaseChannel parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReleaseChannel
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ReleaseChannel parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ReleaseChannel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReleaseChannel parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReleaseChannel
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ReleaseChannel> parser()
Returns
Type Description
Parser<ReleaseChannel>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getChannel()

public ReleaseChannel.Channel getChannel()

channel specifies which release channel the cluster is subscribed to.

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

Returns
Type Description
ReleaseChannel.Channel

The channel.

getChannelValue()

public int getChannelValue()

channel specifies which release channel the cluster is subscribed to.

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

Returns
Type Description
int

The enum numeric value on the wire for channel.

getDefaultInstanceForType()

public ReleaseChannel getDefaultInstanceForType()
Returns
Type Description
ReleaseChannel

getParserForType()

public Parser<ReleaseChannel> getParserForType()
Returns
Type Description
Parser<ReleaseChannel>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ReleaseChannel.Builder newBuilderForType()
Returns
Type Description
ReleaseChannel.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReleaseChannel.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReleaseChannel.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ReleaseChannel.Builder toBuilder()
Returns
Type Description
ReleaseChannel.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException