Class ReleaseChannel (2.3.6)

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
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReleaseChannel getDefaultInstance()
Returns
TypeDescription
ReleaseChannel

getDescriptor()

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

newBuilder()

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

newBuilder(ReleaseChannel prototype)

public static ReleaseChannel.Builder newBuilder(ReleaseChannel prototype)
Parameter
NameDescription
prototypeReleaseChannel
Returns
TypeDescription
ReleaseChannel.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for channel.

getDefaultInstanceForType()

public ReleaseChannel getDefaultInstanceForType()
Returns
TypeDescription
ReleaseChannel

getParserForType()

public Parser<ReleaseChannel> getParserForType()
Returns
TypeDescription
Parser<ReleaseChannel>
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 ReleaseChannel.Builder newBuilderForType()
Returns
TypeDescription
ReleaseChannel.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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