Class ServerConfig (2.5.2)

public final class ServerConfig extends GeneratedMessageV3 implements ServerConfigOrBuilder

Kubernetes Engine service configuration.

Protobuf type google.container.v1beta1.ServerConfig

Static Fields

CHANNELS_FIELD_NUMBER

public static final int CHANNELS_FIELD_NUMBER
Field Value
TypeDescription
int

DEFAULT_CLUSTER_VERSION_FIELD_NUMBER

public static final int DEFAULT_CLUSTER_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

DEFAULT_IMAGE_TYPE_FIELD_NUMBER

public static final int DEFAULT_IMAGE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

VALID_IMAGE_TYPES_FIELD_NUMBER

public static final int VALID_IMAGE_TYPES_FIELD_NUMBER
Field Value
TypeDescription
int

VALID_MASTER_VERSIONS_FIELD_NUMBER

public static final int VALID_MASTER_VERSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

VALID_NODE_VERSIONS_FIELD_NUMBER

public static final int VALID_NODE_VERSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

WINDOWS_VERSION_MAPS_FIELD_NUMBER

public static final int WINDOWS_VERSION_MAPS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ServerConfig getDefaultInstance()
Returns
TypeDescription
ServerConfig

getDescriptor()

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

newBuilder()

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

newBuilder(ServerConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

containsWindowsVersionMaps(String key)

public boolean containsWindowsVersionMaps(String key)

Maps of Kubernetes version and supported Windows server versions.

map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

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

getChannels(int index)

public ServerConfig.ReleaseChannelConfig getChannels(int index)

List of release channel configurations.

repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServerConfig.ReleaseChannelConfig

getChannelsCount()

public int getChannelsCount()

List of release channel configurations.

repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9;

Returns
TypeDescription
int

getChannelsList()

public List<ServerConfig.ReleaseChannelConfig> getChannelsList()

List of release channel configurations.

repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9;

Returns
TypeDescription
List<ReleaseChannelConfig>

getChannelsOrBuilder(int index)

public ServerConfig.ReleaseChannelConfigOrBuilder getChannelsOrBuilder(int index)

List of release channel configurations.

repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServerConfig.ReleaseChannelConfigOrBuilder

getChannelsOrBuilderList()

public List<? extends ServerConfig.ReleaseChannelConfigOrBuilder> getChannelsOrBuilderList()

List of release channel configurations.

repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9;

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

getDefaultClusterVersion()

public String getDefaultClusterVersion()

Version of Kubernetes the service deploys by default.

string default_cluster_version = 1;

Returns
TypeDescription
String

The defaultClusterVersion.

getDefaultClusterVersionBytes()

public ByteString getDefaultClusterVersionBytes()

Version of Kubernetes the service deploys by default.

string default_cluster_version = 1;

Returns
TypeDescription
ByteString

The bytes for defaultClusterVersion.

getDefaultImageType()

public String getDefaultImageType()

Default image type.

string default_image_type = 4;

Returns
TypeDescription
String

The defaultImageType.

getDefaultImageTypeBytes()

public ByteString getDefaultImageTypeBytes()

Default image type.

string default_image_type = 4;

Returns
TypeDescription
ByteString

The bytes for defaultImageType.

getDefaultInstanceForType()

public ServerConfig getDefaultInstanceForType()
Returns
TypeDescription
ServerConfig

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getValidImageTypes(int index)

public String getValidImageTypes(int index)

List of valid image types.

repeated string valid_image_types = 5;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The validImageTypes at the given index.

getValidImageTypesBytes(int index)

public ByteString getValidImageTypesBytes(int index)

List of valid image types.

repeated string valid_image_types = 5;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the validImageTypes at the given index.

getValidImageTypesCount()

public int getValidImageTypesCount()

List of valid image types.

repeated string valid_image_types = 5;

Returns
TypeDescription
int

The count of validImageTypes.

getValidImageTypesList()

public ProtocolStringList getValidImageTypesList()

List of valid image types.

repeated string valid_image_types = 5;

Returns
TypeDescription
ProtocolStringList

A list containing the validImageTypes.

getValidMasterVersions(int index)

public String getValidMasterVersions(int index)

List of valid master versions, in descending order.

repeated string valid_master_versions = 6;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The validMasterVersions at the given index.

getValidMasterVersionsBytes(int index)

public ByteString getValidMasterVersionsBytes(int index)

List of valid master versions, in descending order.

repeated string valid_master_versions = 6;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the validMasterVersions at the given index.

getValidMasterVersionsCount()

public int getValidMasterVersionsCount()

List of valid master versions, in descending order.

repeated string valid_master_versions = 6;

Returns
TypeDescription
int

The count of validMasterVersions.

getValidMasterVersionsList()

public ProtocolStringList getValidMasterVersionsList()

List of valid master versions, in descending order.

repeated string valid_master_versions = 6;

Returns
TypeDescription
ProtocolStringList

A list containing the validMasterVersions.

getValidNodeVersions(int index)

public String getValidNodeVersions(int index)

List of valid node upgrade target versions, in descending order.

repeated string valid_node_versions = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The validNodeVersions at the given index.

getValidNodeVersionsBytes(int index)

public ByteString getValidNodeVersionsBytes(int index)

List of valid node upgrade target versions, in descending order.

repeated string valid_node_versions = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the validNodeVersions at the given index.

getValidNodeVersionsCount()

public int getValidNodeVersionsCount()

List of valid node upgrade target versions, in descending order.

repeated string valid_node_versions = 3;

Returns
TypeDescription
int

The count of validNodeVersions.

getValidNodeVersionsList()

public ProtocolStringList getValidNodeVersionsList()

List of valid node upgrade target versions, in descending order.

repeated string valid_node_versions = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the validNodeVersions.

getWindowsVersionMaps()

public Map<String,WindowsVersions> getWindowsVersionMaps()
Returns
TypeDescription
Map<String,WindowsVersions>

getWindowsVersionMapsCount()

public int getWindowsVersionMapsCount()

Maps of Kubernetes version and supported Windows server versions.

map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10;

Returns
TypeDescription
int

getWindowsVersionMapsMap()

public Map<String,WindowsVersions> getWindowsVersionMapsMap()

Maps of Kubernetes version and supported Windows server versions.

map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10;

Returns
TypeDescription
Map<String,WindowsVersions>

getWindowsVersionMapsOrDefault(String key, WindowsVersions defaultValue)

public WindowsVersions getWindowsVersionMapsOrDefault(String key, WindowsVersions defaultValue)

Maps of Kubernetes version and supported Windows server versions.

map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10;

Parameters
NameDescription
keyString
defaultValueWindowsVersions
Returns
TypeDescription
WindowsVersions

getWindowsVersionMapsOrThrow(String key)

public WindowsVersions getWindowsVersionMapsOrThrow(String key)

Maps of Kubernetes version and supported Windows server versions.

map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10;

Parameter
NameDescription
keyString
Returns
TypeDescription
WindowsVersions

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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