Class ServerConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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

@Generated public final class ServerConfig extends com.google.protobuf.GeneratedMessage implements ServerConfigOrBuilder
 Kubernetes Engine service configuration.
 
Protobuf type google.container.v1.ServerConfig
See Also:
  • Field Details

    • DEFAULT_CLUSTER_VERSION_FIELD_NUMBER

      public static final int DEFAULT_CLUSTER_VERSION_FIELD_NUMBER
      See Also:
    • VALID_NODE_VERSIONS_FIELD_NUMBER

      public static final int VALID_NODE_VERSIONS_FIELD_NUMBER
      See Also:
    • DEFAULT_IMAGE_TYPE_FIELD_NUMBER

      public static final int DEFAULT_IMAGE_TYPE_FIELD_NUMBER
      See Also:
    • VALID_IMAGE_TYPES_FIELD_NUMBER

      public static final int VALID_IMAGE_TYPES_FIELD_NUMBER
      See Also:
    • VALID_MASTER_VERSIONS_FIELD_NUMBER

      public static final int VALID_MASTER_VERSIONS_FIELD_NUMBER
      See Also:
    • CHANNELS_FIELD_NUMBER

      public static final int CHANNELS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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.
    • getDefaultImageType

      public String getDefaultImageType()
       Default image type.
       
      string default_image_type = 4;
      Specified by:
      getDefaultImageType in interface ServerConfigOrBuilder
      Returns:
      The defaultImageType.
    • 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.
    • getChannelsList

      public List<ServerConfig.ReleaseChannelConfig> getChannelsList()
       List of release channel configurations.
       
      repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;
      Specified by:
      getChannelsList in interface ServerConfigOrBuilder
    • getChannelsOrBuilderList

      public List<? extends ServerConfig.ReleaseChannelConfigOrBuilder> getChannelsOrBuilderList()
       List of release channel configurations.
       
      repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;
      Specified by:
      getChannelsOrBuilderList in interface ServerConfigOrBuilder
    • getChannelsCount

      public int getChannelsCount()
       List of release channel configurations.
       
      repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;
      Specified by:
      getChannelsCount in interface ServerConfigOrBuilder
    • getChannels

      public ServerConfig.ReleaseChannelConfig getChannels(int index)
       List of release channel configurations.
       
      repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;
      Specified by:
      getChannels in interface ServerConfigOrBuilder
    • getChannelsOrBuilder

      public ServerConfig.ReleaseChannelConfigOrBuilder getChannelsOrBuilder(int index)
       List of release channel configurations.
       
      repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;
      Specified by:
      getChannelsOrBuilder in interface ServerConfigOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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(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 interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.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 interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ServerConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • 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.GeneratedMessage
    • getDefaultInstanceForType

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