Class ServerConfig.ReleaseChannelConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.container.v1.ServerConfig.ReleaseChannelConfig
All Implemented Interfaces:
ServerConfig.ReleaseChannelConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
ServerConfig

public static final class ServerConfig.ReleaseChannelConfig extends com.google.protobuf.GeneratedMessage implements ServerConfig.ReleaseChannelConfigOrBuilder
 ReleaseChannelConfig exposes configuration for a release channel.
 
Protobuf type google.container.v1.ServerConfig.ReleaseChannelConfig
See Also:
  • Field Details

    • CHANNEL_FIELD_NUMBER

      public static final int CHANNEL_FIELD_NUMBER
      See Also:
    • DEFAULT_VERSION_FIELD_NUMBER

      public static final int DEFAULT_VERSION_FIELD_NUMBER
      See Also:
    • VALID_VERSIONS_FIELD_NUMBER

      public static final int VALID_VERSIONS_FIELD_NUMBER
      See Also:
    • UPGRADE_TARGET_VERSION_FIELD_NUMBER

      public static final int UPGRADE_TARGET_VERSION_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
    • getChannelValue

      public int getChannelValue()
       The release channel this configuration applies to.
       
      .google.container.v1.ReleaseChannel.Channel channel = 1;
      Specified by:
      getChannelValue in interface ServerConfig.ReleaseChannelConfigOrBuilder
      Returns:
      The enum numeric value on the wire for channel.
    • getChannel

      public ReleaseChannel.Channel getChannel()
       The release channel this configuration applies to.
       
      .google.container.v1.ReleaseChannel.Channel channel = 1;
      Specified by:
      getChannel in interface ServerConfig.ReleaseChannelConfigOrBuilder
      Returns:
      The channel.
    • getDefaultVersion

      public String getDefaultVersion()
       The default version for newly created clusters on the channel.
       
      string default_version = 2;
      Specified by:
      getDefaultVersion in interface ServerConfig.ReleaseChannelConfigOrBuilder
      Returns:
      The defaultVersion.
    • getDefaultVersionBytes

      public com.google.protobuf.ByteString getDefaultVersionBytes()
       The default version for newly created clusters on the channel.
       
      string default_version = 2;
      Specified by:
      getDefaultVersionBytes in interface ServerConfig.ReleaseChannelConfigOrBuilder
      Returns:
      The bytes for defaultVersion.
    • getValidVersionsList

      public com.google.protobuf.ProtocolStringList getValidVersionsList()
       List of valid versions for the channel.
       
      repeated string valid_versions = 4;
      Specified by:
      getValidVersionsList in interface ServerConfig.ReleaseChannelConfigOrBuilder
      Returns:
      A list containing the validVersions.
    • getValidVersionsCount

      public int getValidVersionsCount()
       List of valid versions for the channel.
       
      repeated string valid_versions = 4;
      Specified by:
      getValidVersionsCount in interface ServerConfig.ReleaseChannelConfigOrBuilder
      Returns:
      The count of validVersions.
    • getValidVersions

      public String getValidVersions(int index)
       List of valid versions for the channel.
       
      repeated string valid_versions = 4;
      Specified by:
      getValidVersions in interface ServerConfig.ReleaseChannelConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The validVersions at the given index.
    • getValidVersionsBytes

      public com.google.protobuf.ByteString getValidVersionsBytes(int index)
       List of valid versions for the channel.
       
      repeated string valid_versions = 4;
      Specified by:
      getValidVersionsBytes in interface ServerConfig.ReleaseChannelConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the validVersions at the given index.
    • getUpgradeTargetVersion

      public String getUpgradeTargetVersion()
       The auto upgrade target version for clusters on the channel.
       
      string upgrade_target_version = 5;
      Specified by:
      getUpgradeTargetVersion in interface ServerConfig.ReleaseChannelConfigOrBuilder
      Returns:
      The upgradeTargetVersion.
    • getUpgradeTargetVersionBytes

      public com.google.protobuf.ByteString getUpgradeTargetVersionBytes()
       The auto upgrade target version for clusters on the channel.
       
      string upgrade_target_version = 5;
      Specified by:
      getUpgradeTargetVersionBytes in interface ServerConfig.ReleaseChannelConfigOrBuilder
      Returns:
      The bytes for upgradeTargetVersion.
    • 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.ReleaseChannelConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServerConfig.ReleaseChannelConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServerConfig.ReleaseChannelConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServerConfig.ReleaseChannelConfig 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.ReleaseChannelConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServerConfig.ReleaseChannelConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServerConfig.ReleaseChannelConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ServerConfig.ReleaseChannelConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ServerConfig.ReleaseChannelConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ServerConfig.ReleaseChannelConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ServerConfig.ReleaseChannelConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ServerConfig.ReleaseChannelConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static ServerConfig.ReleaseChannelConfig.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ServerConfig.ReleaseChannelConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ServerConfig.ReleaseChannelConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ServerConfig.ReleaseChannelConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<ServerConfig.ReleaseChannelConfig> 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.ReleaseChannelConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder