public static final class ServerConfig.ReleaseChannelConfig extends GeneratedMessageV3 implements ServerConfig.ReleaseChannelConfigOrBuilder
ReleaseChannelConfig exposes configuration for a release channel.
Protobuf type google.container.v1.ServerConfig.ReleaseChannelConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
CHANNEL_FIELD_NUMBER
public static final int CHANNEL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DEFAULT_VERSION_FIELD_NUMBER
public static final int DEFAULT_VERSION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VALID_VERSIONS_FIELD_NUMBER
public static final int VALID_VERSIONS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ServerConfig.ReleaseChannelConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ServerConfig.ReleaseChannelConfig.Builder newBuilder()
newBuilder(ServerConfig.ReleaseChannelConfig prototype)
public static ServerConfig.ReleaseChannelConfig.Builder newBuilder(ServerConfig.ReleaseChannelConfig prototype)
public static ServerConfig.ReleaseChannelConfig parseDelimitedFrom(InputStream input)
public static ServerConfig.ReleaseChannelConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ServerConfig.ReleaseChannelConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ServerConfig.ReleaseChannelConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ServerConfig.ReleaseChannelConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ServerConfig.ReleaseChannelConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ServerConfig.ReleaseChannelConfig parseFrom(CodedInputStream input)
public static ServerConfig.ReleaseChannelConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ServerConfig.ReleaseChannelConfig parseFrom(InputStream input)
public static ServerConfig.ReleaseChannelConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ServerConfig.ReleaseChannelConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ServerConfig.ReleaseChannelConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ServerConfig.ReleaseChannelConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getChannel()
public ReleaseChannel.Channel getChannel()
The release channel this configuration applies to.
.google.container.v1.ReleaseChannel.Channel channel = 1;
getChannelValue()
public int getChannelValue()
The release channel this configuration applies to.
.google.container.v1.ReleaseChannel.Channel channel = 1;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for channel.
|
getDefaultInstanceForType()
public ServerConfig.ReleaseChannelConfig getDefaultInstanceForType()
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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;
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ServerConfig.ReleaseChannelConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ServerConfig.ReleaseChannelConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ServerConfig.ReleaseChannelConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides