public static final class ServerConfig.ReleaseChannelConfig extends GeneratedMessageV3 implements ServerConfig.ReleaseChannelConfigOrBuilder
ReleaseChannelConfig exposes configuration for a release channel.
Protobuf type google.container.v1beta1.ServerConfig.ReleaseChannelConfig
Static Fields
AVAILABLE_VERSIONS_FIELD_NUMBER
public static final int AVAILABLE_VERSIONS_FIELD_NUMBER
Field Value
CHANNEL_FIELD_NUMBER
public static final int CHANNEL_FIELD_NUMBER
Field Value
DEFAULT_VERSION_FIELD_NUMBER
public static final int DEFAULT_VERSION_FIELD_NUMBER
Field Value
VALID_VERSIONS_FIELD_NUMBER
public static final int VALID_VERSIONS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ServerConfig.ReleaseChannelConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ServerConfig.ReleaseChannelConfig.Builder newBuilder()
Returns
newBuilder(ServerConfig.ReleaseChannelConfig prototype)
public static ServerConfig.ReleaseChannelConfig.Builder newBuilder(ServerConfig.ReleaseChannelConfig prototype)
Parameter
Returns
public static ServerConfig.ReleaseChannelConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ServerConfig.ReleaseChannelConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ServerConfig.ReleaseChannelConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ServerConfig.ReleaseChannelConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ServerConfig.ReleaseChannelConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ServerConfig.ReleaseChannelConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ServerConfig.ReleaseChannelConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ServerConfig.ReleaseChannelConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ServerConfig.ReleaseChannelConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ServerConfig.ReleaseChannelConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ServerConfig.ReleaseChannelConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ServerConfig.ReleaseChannelConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ServerConfig.ReleaseChannelConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAvailableVersions(int index)
public ServerConfig.ReleaseChannelConfig.AvailableVersion getAvailableVersions(int index)
Deprecated.
This field has been deprecated and replaced with the valid_versions
field.
repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true];
Parameter
Returns
getAvailableVersionsCount()
public int getAvailableVersionsCount()
Deprecated.
This field has been deprecated and replaced with the valid_versions
field.
repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true];
Returns
getAvailableVersionsList()
public List<ServerConfig.ReleaseChannelConfig.AvailableVersion> getAvailableVersionsList()
Deprecated.
This field has been deprecated and replaced with the valid_versions
field.
repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true];
Returns
getAvailableVersionsOrBuilder(int index)
public ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder getAvailableVersionsOrBuilder(int index)
Deprecated.
This field has been deprecated and replaced with the valid_versions
field.
repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true];
Parameter
Returns
getAvailableVersionsOrBuilderList()
public List<? extends ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder> getAvailableVersionsOrBuilderList()
Deprecated.
This field has been deprecated and replaced with the valid_versions
field.
repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true];
Returns
Type | Description |
List<? extends com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder> | |
getChannel()
public ReleaseChannel.Channel getChannel()
The release channel this configuration applies to.
.google.container.v1beta1.ReleaseChannel.Channel channel = 1;
Returns
getChannelValue()
public int getChannelValue()
The release channel this configuration applies to.
.google.container.v1beta1.ReleaseChannel.Channel channel = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for channel.
|
getDefaultInstanceForType()
public ServerConfig.ReleaseChannelConfig getDefaultInstanceForType()
Returns
getDefaultVersion()
public String getDefaultVersion()
The default version for newly created clusters on the channel.
string default_version = 2;
Returns
Type | Description |
String | The defaultVersion.
|
getDefaultVersionBytes()
public ByteString getDefaultVersionBytes()
The default version for newly created clusters on the channel.
string default_version = 2;
Returns
Type | Description |
ByteString | The bytes for defaultVersion.
|
getParserForType()
public Parser<ServerConfig.ReleaseChannelConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getValidVersions(int index)
public String getValidVersions(int index)
List of valid versions for the channel.
repeated string valid_versions = 4;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The validVersions at the given index.
|
getValidVersionsBytes(int index)
public ByteString getValidVersionsBytes(int index)
List of valid versions for the channel.
repeated string valid_versions = 4;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the validVersions at the given index.
|
getValidVersionsCount()
public int getValidVersionsCount()
List of valid versions for the channel.
repeated string valid_versions = 4;
Returns
Type | Description |
int | The count of validVersions.
|
getValidVersionsList()
public ProtocolStringList getValidVersionsList()
List of valid versions for the channel.
repeated string valid_versions = 4;
Returns
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ServerConfig.ReleaseChannelConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ServerConfig.ReleaseChannelConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ServerConfig.ReleaseChannelConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions