Package com.google.container.v1
Class ServerConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.container.v1.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.v1.ServerConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServerConfig.BuilderKubernetes Engine service configuration.static classServerConfig.ReleaseChannelConfigReleaseChannelConfig exposes configuration for a release channel.static interfaceServerConfig.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 intCHANNELS_FIELD_NUMBERstatic intDEFAULT_CLUSTER_VERSION_FIELD_NUMBERstatic intDEFAULT_IMAGE_TYPE_FIELD_NUMBERstatic intVALID_IMAGE_TYPES_FIELD_NUMBERstatic intVALID_MASTER_VERSIONS_FIELD_NUMBERstatic intVALID_NODE_VERSIONS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ServerConfig.ReleaseChannelConfiggetChannels(int index)List of release channel configurations.intgetChannelsCount()List of release channel configurations.List<ServerConfig.ReleaseChannelConfig>getChannelsList()List of release channel configurations.ServerConfig.ReleaseChannelConfigOrBuildergetChannelsOrBuilder(int index)List of release channel configurations.List<? extends ServerConfig.ReleaseChannelConfigOrBuilder>getChannelsOrBuilderList()List of release channel configurations.StringgetDefaultClusterVersion()Version of Kubernetes the service deploys by default.com.google.protobuf.ByteStringgetDefaultClusterVersionBytes()Version of Kubernetes the service deploys by default.StringgetDefaultImageType()Default image type.com.google.protobuf.ByteStringgetDefaultImageTypeBytes()Default image type.static ServerConfiggetDefaultInstance()ServerConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<ServerConfig>getParserForType()intgetSerializedSize()StringgetValidImageTypes(int index)List of valid image types.com.google.protobuf.ByteStringgetValidImageTypesBytes(int index)List of valid image types.intgetValidImageTypesCount()List of valid image types.com.google.protobuf.ProtocolStringListgetValidImageTypesList()List of valid image types.StringgetValidMasterVersions(int index)List of valid master versions, in descending order.com.google.protobuf.ByteStringgetValidMasterVersionsBytes(int index)List of valid master versions, in descending order.intgetValidMasterVersionsCount()List of valid master versions, in descending order.com.google.protobuf.ProtocolStringListgetValidMasterVersionsList()List of valid master versions, in descending order.StringgetValidNodeVersions(int index)List of valid node upgrade target versions, in descending order.com.google.protobuf.ByteStringgetValidNodeVersionsBytes(int index)List of valid node upgrade target versions, in descending order.intgetValidNodeVersionsCount()List of valid node upgrade target versions, in descending order.com.google.protobuf.ProtocolStringListgetValidNodeVersionsList()List of valid node upgrade target versions, in descending order.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ServerConfig.BuildernewBuilder()static ServerConfig.BuildernewBuilder(ServerConfig prototype)ServerConfig.BuildernewBuilderForType()protected ServerConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ServerConfigparseDelimitedFrom(InputStream input)static ServerConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ServerConfigparseFrom(byte[] data)static ServerConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ServerConfigparseFrom(com.google.protobuf.ByteString data)static ServerConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ServerConfigparseFrom(com.google.protobuf.CodedInputStream input)static ServerConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ServerConfigparseFrom(InputStream input)static ServerConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ServerConfigparseFrom(ByteBuffer data)static ServerConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ServerConfig>parser()ServerConfig.BuildertoBuilder()voidwriteTo(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, internalGetMapField, 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
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultClusterVersion
public String getDefaultClusterVersion()
Version of Kubernetes the service deploys by default.
string default_cluster_version = 1;- Specified by:
getDefaultClusterVersionin 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:
getDefaultClusterVersionBytesin 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:
getValidNodeVersionsListin 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:
getValidNodeVersionsCountin 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:
getValidNodeVersionsin 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:
getValidNodeVersionsBytesin 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:
getDefaultImageTypein interfaceServerConfigOrBuilder- Returns:
- The defaultImageType.
-
getDefaultImageTypeBytes
public com.google.protobuf.ByteString getDefaultImageTypeBytes()
Default image type.
string default_image_type = 4;- Specified by:
getDefaultImageTypeBytesin 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:
getValidImageTypesListin interfaceServerConfigOrBuilder- Returns:
- A list containing the validImageTypes.
-
getValidImageTypesCount
public int getValidImageTypesCount()
List of valid image types.
repeated string valid_image_types = 5;- Specified by:
getValidImageTypesCountin 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:
getValidImageTypesin 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:
getValidImageTypesBytesin 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:
getValidMasterVersionsListin 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:
getValidMasterVersionsCountin 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:
getValidMasterVersionsin 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:
getValidMasterVersionsBytesin 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.v1.ServerConfig.ReleaseChannelConfig channels = 9;- Specified by:
getChannelsListin interfaceServerConfigOrBuilder
-
getChannelsOrBuilderList
public List<? extends ServerConfig.ReleaseChannelConfigOrBuilder> getChannelsOrBuilderList()
List of release channel configurations.
repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;- Specified by:
getChannelsOrBuilderListin interfaceServerConfigOrBuilder
-
getChannelsCount
public int getChannelsCount()
List of release channel configurations.
repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;- Specified by:
getChannelsCountin interfaceServerConfigOrBuilder
-
getChannels
public ServerConfig.ReleaseChannelConfig getChannels(int index)
List of release channel configurations.
repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;- Specified by:
getChannelsin interfaceServerConfigOrBuilder
-
getChannelsOrBuilder
public ServerConfig.ReleaseChannelConfigOrBuilder getChannelsOrBuilder(int index)
List of release channel configurations.
repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;- Specified by:
getChannelsOrBuilderin interfaceServerConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ServerConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ServerConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-