Class 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 type google.container.v1beta1.ServerConfig
    See Also:
    Serialized Form
    • 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
      • 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 class com.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 class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getDefaultClusterVersion

        public String getDefaultClusterVersion()
         Version of Kubernetes the service deploys by default.
         
        string default_cluster_version = 1;
        Specified by:
        getDefaultClusterVersion in interface ServerConfigOrBuilder
        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 interface ServerConfigOrBuilder
        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 interface ServerConfigOrBuilder
        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 interface ServerConfigOrBuilder
        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 interface ServerConfigOrBuilder
        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 interface ServerConfigOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the validNodeVersions at the given index.
      • getDefaultImageTypeBytes

        public com.google.protobuf.ByteString getDefaultImageTypeBytes()
         Default image type.
         
        string default_image_type = 4;
        Specified by:
        getDefaultImageTypeBytes in interface ServerConfigOrBuilder
        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 interface ServerConfigOrBuilder
        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 interface ServerConfigOrBuilder
        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 interface ServerConfigOrBuilder
        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 interface ServerConfigOrBuilder
        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 interface ServerConfigOrBuilder
        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 interface ServerConfigOrBuilder
        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 interface ServerConfigOrBuilder
        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 interface ServerConfigOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the validMasterVersions at the given index.
      • getChannelsCount

        public int getChannelsCount()
         List of release channel configurations.
         
        repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9;
        Specified by:
        getChannelsCount in interface ServerConfigOrBuilder
      • 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 interface ServerConfigOrBuilder
      • 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 interface ServerConfigOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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​(com.google.protobuf.CodedInputStream input,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws IOException
        Throws:
        IOException
      • newBuilderForType

        public ServerConfig.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public ServerConfig.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected ServerConfig.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.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 interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public ServerConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder