Class ServerConfig.ReleaseChannelConfig (2.17.0)

public static final class ServerConfig.ReleaseChannelConfig extends GeneratedMessageV3 implements ServerConfig.ReleaseChannelConfigOrBuilder

ReleaseChannelConfig exposes configuration for a release channel.

Protobuf type google.container.v1beta1.ServerConfig.ReleaseChannelConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ServerConfig.ReleaseChannelConfig

Static Fields

AVAILABLE_VERSIONS_FIELD_NUMBER

public static final int AVAILABLE_VERSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

CHANNEL_FIELD_NUMBER

public static final int CHANNEL_FIELD_NUMBER
Field Value
TypeDescription
int

DEFAULT_VERSION_FIELD_NUMBER

public static final int DEFAULT_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

VALID_VERSIONS_FIELD_NUMBER

public static final int VALID_VERSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ServerConfig.ReleaseChannelConfig getDefaultInstance()
Returns
TypeDescription
ServerConfig.ReleaseChannelConfig

getDescriptor()

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

newBuilder()

public static ServerConfig.ReleaseChannelConfig.Builder newBuilder()
Returns
TypeDescription
ServerConfig.ReleaseChannelConfig.Builder

newBuilder(ServerConfig.ReleaseChannelConfig prototype)

public static ServerConfig.ReleaseChannelConfig.Builder newBuilder(ServerConfig.ReleaseChannelConfig prototype)
Parameter
NameDescription
prototypeServerConfig.ReleaseChannelConfig
Returns
TypeDescription
ServerConfig.ReleaseChannelConfig.Builder

parseDelimitedFrom(InputStream input)

public static ServerConfig.ReleaseChannelConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ServerConfig.ReleaseChannelConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ServerConfig.ReleaseChannelConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ServerConfig.ReleaseChannelConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ServerConfig.ReleaseChannelConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ServerConfig.ReleaseChannelConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ServerConfig.ReleaseChannelConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ServerConfig.ReleaseChannelConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ServerConfig.ReleaseChannelConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ServerConfig.ReleaseChannelConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ServerConfig.ReleaseChannelConfig> parser()
Returns
TypeDescription
Parser<ReleaseChannelConfig>

Methods

equals(Object obj)

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

getAvailableVersions(int index)

public ServerConfig.ReleaseChannelConfig.AvailableVersion getAvailableVersions(int index)

Deprecated. This field has been deprecated and replaced with the valid_versions field.

repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true];

Parameter
NameDescription
indexint
Returns
TypeDescription
ServerConfig.ReleaseChannelConfig.AvailableVersion

getAvailableVersionsCount()

public int getAvailableVersionsCount()

Deprecated. This field has been deprecated and replaced with the valid_versions field.

repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true];

Returns
TypeDescription
int

getAvailableVersionsList()

public List<ServerConfig.ReleaseChannelConfig.AvailableVersion> getAvailableVersionsList()

Deprecated. This field has been deprecated and replaced with the valid_versions field.

repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true];

Returns
TypeDescription
List<AvailableVersion>

getAvailableVersionsOrBuilder(int index)

public ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder getAvailableVersionsOrBuilder(int index)

Deprecated. This field has been deprecated and replaced with the valid_versions field.

repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true];

Parameter
NameDescription
indexint
Returns
TypeDescription
ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder

getAvailableVersionsOrBuilderList()

public List<? extends ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder> getAvailableVersionsOrBuilderList()

Deprecated. This field has been deprecated and replaced with the valid_versions field.

repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true];

Returns
TypeDescription
List<? extends com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder>

getChannel()

public ReleaseChannel.Channel getChannel()

The release channel this configuration applies to.

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

Returns
TypeDescription
ReleaseChannel.Channel

The channel.

getChannelValue()

public int getChannelValue()

The release channel this configuration applies to.

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

Returns
TypeDescription
int

The enum numeric value on the wire for channel.

getDefaultInstanceForType()

public ServerConfig.ReleaseChannelConfig getDefaultInstanceForType()
Returns
TypeDescription
ServerConfig.ReleaseChannelConfig

getDefaultVersion()

public String getDefaultVersion()

The default version for newly created clusters on the channel.

string default_version = 2;

Returns
TypeDescription
String

The defaultVersion.

getDefaultVersionBytes()

public ByteString getDefaultVersionBytes()

The default version for newly created clusters on the channel.

string default_version = 2;

Returns
TypeDescription
ByteString

The bytes for defaultVersion.

getParserForType()

public Parser<ServerConfig.ReleaseChannelConfig> getParserForType()
Returns
TypeDescription
Parser<ReleaseChannelConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getValidVersions(int index)

public String getValidVersions(int index)

List of valid versions for the channel.

repeated string valid_versions = 4;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The validVersions at the given index.

getValidVersionsBytes(int index)

public ByteString getValidVersionsBytes(int index)

List of valid versions for the channel.

repeated string valid_versions = 4;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the validVersions at the given index.

getValidVersionsCount()

public int getValidVersionsCount()

List of valid versions for the channel.

repeated string valid_versions = 4;

Returns
TypeDescription
int

The count of validVersions.

getValidVersionsList()

public ProtocolStringList getValidVersionsList()

List of valid versions for the channel.

repeated string valid_versions = 4;

Returns
TypeDescription
ProtocolStringList

A list containing the validVersions.

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 ServerConfig.ReleaseChannelConfig.Builder newBuilderForType()
Returns
TypeDescription
ServerConfig.ReleaseChannelConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ServerConfig.ReleaseChannelConfig.Builder toBuilder()
Returns
TypeDescription
ServerConfig.ReleaseChannelConfig.Builder

writeTo(CodedOutputStream output)

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