Package com.google.container.v1beta1
Class ServerConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.container.v1beta1.ServerConfig
-
- All Implemented Interfaces:
ServerConfigOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class ServerConfig extends com.google.protobuf.GeneratedMessageV3 implements ServerConfigOrBuilder
Kubernetes Engine service configuration.
Protobuf typegoogle.container.v1beta1.ServerConfig
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServerConfig.Builder
Kubernetes Engine service configuration.static class
ServerConfig.ReleaseChannelConfig
ReleaseChannelConfig exposes configuration for a release channel.static interface
ServerConfig.ReleaseChannelConfigOrBuilder
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
CHANNELS_FIELD_NUMBER
static int
DEFAULT_CLUSTER_VERSION_FIELD_NUMBER
static int
DEFAULT_IMAGE_TYPE_FIELD_NUMBER
static int
VALID_IMAGE_TYPES_FIELD_NUMBER
static int
VALID_MASTER_VERSIONS_FIELD_NUMBER
static int
VALID_NODE_VERSIONS_FIELD_NUMBER
static int
WINDOWS_VERSION_MAPS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsWindowsVersionMaps(String key)
Maps of Kubernetes version and supported Windows server versions.boolean
equals(Object obj)
ServerConfig.ReleaseChannelConfig
getChannels(int index)
List of release channel configurations.int
getChannelsCount()
List of release channel configurations.List<ServerConfig.ReleaseChannelConfig>
getChannelsList()
List of release channel configurations.ServerConfig.ReleaseChannelConfigOrBuilder
getChannelsOrBuilder(int index)
List of release channel configurations.List<? extends ServerConfig.ReleaseChannelConfigOrBuilder>
getChannelsOrBuilderList()
List of release channel configurations.String
getDefaultClusterVersion()
Version of Kubernetes the service deploys by default.com.google.protobuf.ByteString
getDefaultClusterVersionBytes()
Version of Kubernetes the service deploys by default.String
getDefaultImageType()
Default image type.com.google.protobuf.ByteString
getDefaultImageTypeBytes()
Default image type.static ServerConfig
getDefaultInstance()
ServerConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Parser<ServerConfig>
getParserForType()
int
getSerializedSize()
String
getValidImageTypes(int index)
List of valid image types.com.google.protobuf.ByteString
getValidImageTypesBytes(int index)
List of valid image types.int
getValidImageTypesCount()
List of valid image types.com.google.protobuf.ProtocolStringList
getValidImageTypesList()
List of valid image types.String
getValidMasterVersions(int index)
List of valid master versions, in descending order.com.google.protobuf.ByteString
getValidMasterVersionsBytes(int index)
List of valid master versions, in descending order.int
getValidMasterVersionsCount()
List of valid master versions, in descending order.com.google.protobuf.ProtocolStringList
getValidMasterVersionsList()
List of valid master versions, in descending order.String
getValidNodeVersions(int index)
List of valid node upgrade target versions, in descending order.com.google.protobuf.ByteString
getValidNodeVersionsBytes(int index)
List of valid node upgrade target versions, in descending order.int
getValidNodeVersionsCount()
List of valid node upgrade target versions, in descending order.com.google.protobuf.ProtocolStringList
getValidNodeVersionsList()
List of valid node upgrade target versions, in descending order.Map<String,WindowsVersions>
getWindowsVersionMaps()
Deprecated.int
getWindowsVersionMapsCount()
Maps of Kubernetes version and supported Windows server versions.Map<String,WindowsVersions>
getWindowsVersionMapsMap()
Maps of Kubernetes version and supported Windows server versions.WindowsVersions
getWindowsVersionMapsOrDefault(String key, WindowsVersions defaultValue)
Maps of Kubernetes version and supported Windows server versions.WindowsVersions
getWindowsVersionMapsOrThrow(String key)
Maps of Kubernetes version and supported Windows server versions.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static ServerConfig.Builder
newBuilder()
static ServerConfig.Builder
newBuilder(ServerConfig prototype)
ServerConfig.Builder
newBuilderForType()
protected ServerConfig.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ServerConfig
parseDelimitedFrom(InputStream input)
static ServerConfig
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ServerConfig
parseFrom(byte[] data)
static ServerConfig
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ServerConfig
parseFrom(com.google.protobuf.ByteString data)
static ServerConfig
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ServerConfig
parseFrom(com.google.protobuf.CodedInputStream input)
static ServerConfig
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ServerConfig
parseFrom(InputStream input)
static ServerConfig
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ServerConfig
parseFrom(ByteBuffer data)
static ServerConfig
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ServerConfig>
parser()
ServerConfig.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
DEFAULT_CLUSTER_VERSION_FIELD_NUMBER
public static final int DEFAULT_CLUSTER_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VALID_NODE_VERSIONS_FIELD_NUMBER
public static final int VALID_NODE_VERSIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEFAULT_IMAGE_TYPE_FIELD_NUMBER
public static final int DEFAULT_IMAGE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VALID_IMAGE_TYPES_FIELD_NUMBER
public static final int VALID_IMAGE_TYPES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VALID_MASTER_VERSIONS_FIELD_NUMBER
public static final int VALID_MASTER_VERSIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CHANNELS_FIELD_NUMBER
public static final int CHANNELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WINDOWS_VERSION_MAPS_FIELD_NUMBER
public static final int WINDOWS_VERSION_MAPS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultClusterVersion
public String getDefaultClusterVersion()
Version of Kubernetes the service deploys by default.
string default_cluster_version = 1;
- Specified by:
getDefaultClusterVersion
in interfaceServerConfigOrBuilder
- Returns:
- The defaultClusterVersion.
-
getDefaultClusterVersionBytes
public com.google.protobuf.ByteString getDefaultClusterVersionBytes()
Version of Kubernetes the service deploys by default.
string default_cluster_version = 1;
- Specified by:
getDefaultClusterVersionBytes
in interfaceServerConfigOrBuilder
- Returns:
- The bytes for defaultClusterVersion.
-
getValidNodeVersionsList
public com.google.protobuf.ProtocolStringList getValidNodeVersionsList()
List of valid node upgrade target versions, in descending order.
repeated string valid_node_versions = 3;
- Specified by:
getValidNodeVersionsList
in interfaceServerConfigOrBuilder
- Returns:
- A list containing the validNodeVersions.
-
getValidNodeVersionsCount
public int getValidNodeVersionsCount()
List of valid node upgrade target versions, in descending order.
repeated string valid_node_versions = 3;
- Specified by:
getValidNodeVersionsCount
in interfaceServerConfigOrBuilder
- Returns:
- The count of validNodeVersions.
-
getValidNodeVersions
public String getValidNodeVersions(int index)
List of valid node upgrade target versions, in descending order.
repeated string valid_node_versions = 3;
- Specified by:
getValidNodeVersions
in interfaceServerConfigOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The validNodeVersions at the given index.
-
getValidNodeVersionsBytes
public com.google.protobuf.ByteString getValidNodeVersionsBytes(int index)
List of valid node upgrade target versions, in descending order.
repeated string valid_node_versions = 3;
- Specified by:
getValidNodeVersionsBytes
in interfaceServerConfigOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the validNodeVersions at the given index.
-
getDefaultImageType
public String getDefaultImageType()
Default image type.
string default_image_type = 4;
- Specified by:
getDefaultImageType
in interfaceServerConfigOrBuilder
- Returns:
- The defaultImageType.
-
getDefaultImageTypeBytes
public com.google.protobuf.ByteString getDefaultImageTypeBytes()
Default image type.
string default_image_type = 4;
- Specified by:
getDefaultImageTypeBytes
in interfaceServerConfigOrBuilder
- Returns:
- The bytes for defaultImageType.
-
getValidImageTypesList
public com.google.protobuf.ProtocolStringList getValidImageTypesList()
List of valid image types.
repeated string valid_image_types = 5;
- Specified by:
getValidImageTypesList
in interfaceServerConfigOrBuilder
- Returns:
- A list containing the validImageTypes.
-
getValidImageTypesCount
public int getValidImageTypesCount()
List of valid image types.
repeated string valid_image_types = 5;
- Specified by:
getValidImageTypesCount
in interfaceServerConfigOrBuilder
- Returns:
- The count of validImageTypes.
-
getValidImageTypes
public String getValidImageTypes(int index)
List of valid image types.
repeated string valid_image_types = 5;
- Specified by:
getValidImageTypes
in interfaceServerConfigOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The validImageTypes at the given index.
-
getValidImageTypesBytes
public com.google.protobuf.ByteString getValidImageTypesBytes(int index)
List of valid image types.
repeated string valid_image_types = 5;
- Specified by:
getValidImageTypesBytes
in interfaceServerConfigOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the validImageTypes at the given index.
-
getValidMasterVersionsList
public com.google.protobuf.ProtocolStringList getValidMasterVersionsList()
List of valid master versions, in descending order.
repeated string valid_master_versions = 6;
- Specified by:
getValidMasterVersionsList
in interfaceServerConfigOrBuilder
- Returns:
- A list containing the validMasterVersions.
-
getValidMasterVersionsCount
public int getValidMasterVersionsCount()
List of valid master versions, in descending order.
repeated string valid_master_versions = 6;
- Specified by:
getValidMasterVersionsCount
in interfaceServerConfigOrBuilder
- Returns:
- The count of validMasterVersions.
-
getValidMasterVersions
public String getValidMasterVersions(int index)
List of valid master versions, in descending order.
repeated string valid_master_versions = 6;
- Specified by:
getValidMasterVersions
in interfaceServerConfigOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The validMasterVersions at the given index.
-
getValidMasterVersionsBytes
public com.google.protobuf.ByteString getValidMasterVersionsBytes(int index)
List of valid master versions, in descending order.
repeated string valid_master_versions = 6;
- Specified by:
getValidMasterVersionsBytes
in interfaceServerConfigOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the validMasterVersions at the given index.
-
getChannelsList
public List<ServerConfig.ReleaseChannelConfig> getChannelsList()
List of release channel configurations.
repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9;
- Specified by:
getChannelsList
in interfaceServerConfigOrBuilder
-
getChannelsOrBuilderList
public List<? extends ServerConfig.ReleaseChannelConfigOrBuilder> getChannelsOrBuilderList()
List of release channel configurations.
repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9;
- Specified by:
getChannelsOrBuilderList
in interfaceServerConfigOrBuilder
-
getChannelsCount
public int getChannelsCount()
List of release channel configurations.
repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9;
- Specified by:
getChannelsCount
in interfaceServerConfigOrBuilder
-
getChannels
public ServerConfig.ReleaseChannelConfig getChannels(int index)
List of release channel configurations.
repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9;
- Specified by:
getChannels
in interfaceServerConfigOrBuilder
-
getChannelsOrBuilder
public ServerConfig.ReleaseChannelConfigOrBuilder getChannelsOrBuilder(int index)
List of release channel configurations.
repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9;
- Specified by:
getChannelsOrBuilder
in interfaceServerConfigOrBuilder
-
getWindowsVersionMapsCount
public int getWindowsVersionMapsCount()
Description copied from interface:ServerConfigOrBuilder
Maps of Kubernetes version and supported Windows server versions.
map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10;
- Specified by:
getWindowsVersionMapsCount
in interfaceServerConfigOrBuilder
-
containsWindowsVersionMaps
public boolean containsWindowsVersionMaps(String key)
Maps of Kubernetes version and supported Windows server versions.
map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10;
- Specified by:
containsWindowsVersionMaps
in interfaceServerConfigOrBuilder
-
getWindowsVersionMaps
@Deprecated public Map<String,WindowsVersions> getWindowsVersionMaps()
Deprecated.UsegetWindowsVersionMapsMap()
instead.- Specified by:
getWindowsVersionMaps
in interfaceServerConfigOrBuilder
-
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;
- Specified by:
getWindowsVersionMapsMap
in interfaceServerConfigOrBuilder
-
getWindowsVersionMapsOrDefault
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;
- Specified by:
getWindowsVersionMapsOrDefault
in interfaceServerConfigOrBuilder
-
getWindowsVersionMapsOrThrow
public WindowsVersions getWindowsVersionMapsOrThrow(String key)
Maps of Kubernetes version and supported Windows server versions.
map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10;
- Specified by:
getWindowsVersionMapsOrThrow
in interfaceServerConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ServerConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServerConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServerConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServerConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServerConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServerConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServerConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ServerConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ServerConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ServerConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ServerConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ServerConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ServerConfig.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ServerConfig.Builder newBuilder()
-
newBuilder
public static ServerConfig.Builder newBuilder(ServerConfig prototype)
-
toBuilder
public ServerConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ServerConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ServerConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ServerConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<ServerConfig> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ServerConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-