Class ServerConfig.ReleaseChannelConfig (2.48.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
Type Description
int

CHANNEL_FIELD_NUMBER

public static final int CHANNEL_FIELD_NUMBER
Field Value
Type Description
int

DEFAULT_VERSION_FIELD_NUMBER

public static final int DEFAULT_VERSION_FIELD_NUMBER
Field Value
Type Description
int

VALID_VERSIONS_FIELD_NUMBER

public static final int VALID_VERSIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ServerConfig.ReleaseChannelConfig getDefaultInstance()
Returns
Type Description
ServerConfig.ReleaseChannelConfig

getDescriptor()

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

newBuilder()

public static ServerConfig.ReleaseChannelConfig.Builder newBuilder()
Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder

newBuilder(ServerConfig.ReleaseChannelConfig prototype)

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

parseDelimitedFrom(InputStream input)

public static ServerConfig.ReleaseChannelConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ServerConfig.ReleaseChannelConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ServerConfig.ReleaseChannelConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ServerConfig.ReleaseChannelConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ServerConfig.ReleaseChannelConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ServerConfig.ReleaseChannelConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ServerConfig.ReleaseChannelConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ServerConfig.ReleaseChannelConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ServerConfig.ReleaseChannelConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ServerConfig.ReleaseChannelConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAvailableVersions(int index) (deprecated)

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
Name Description
index int
Returns
Type Description
ServerConfig.ReleaseChannelConfig.AvailableVersion

getAvailableVersionsCount() (deprecated)

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
Type Description
int

getAvailableVersionsList() (deprecated)

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
Type Description
List<AvailableVersion>

getAvailableVersionsOrBuilder(int index) (deprecated)

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
Name Description
index int
Returns
Type Description
ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder

getAvailableVersionsOrBuilderList() (deprecated)

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
Type Description
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
Type Description
ReleaseChannel.Channel

The channel.

getChannelValue()

public int getChannelValue()

The release channel this configuration applies to.

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

Returns
Type Description
int

The enum numeric value on the wire for channel.

getDefaultInstanceForType()

public ServerConfig.ReleaseChannelConfig getDefaultInstanceForType()
Returns
Type Description
ServerConfig.ReleaseChannelConfig

getDefaultVersion()

public String getDefaultVersion()

The default version for newly created clusters on the channel.

string default_version = 2;

Returns
Type Description
String

The defaultVersion.

getDefaultVersionBytes()

public ByteString getDefaultVersionBytes()

The default version for newly created clusters on the channel.

string default_version = 2;

Returns
Type Description
ByteString

The bytes for defaultVersion.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getValidVersions(int index)

public String getValidVersions(int index)

List of valid versions for the channel.

repeated string valid_versions = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
int

The count of validVersions.

getValidVersionsList()

public ProtocolStringList getValidVersionsList()

List of valid versions for the channel.

repeated string valid_versions = 4;

Returns
Type Description
ProtocolStringList

A list containing the validVersions.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ServerConfig.ReleaseChannelConfig.Builder toBuilder()
Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder

writeTo(CodedOutputStream output)

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