Send feedback
Class ServerConfig (2.25.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.25.0 keyboard_arrow_down
public final class ServerConfig extends GeneratedMessageV3 implements ServerConfigOrBuilder
Kubernetes Engine service configuration.
Protobuf type google.container.v1.ServerConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
CHANNELS_FIELD_NUMBER
public static final int CHANNELS_FIELD_NUMBER
Field Value Type Description int
DEFAULT_CLUSTER_VERSION_FIELD_NUMBER
public static final int DEFAULT_CLUSTER_VERSION_FIELD_NUMBER
Field Value Type Description int
DEFAULT_IMAGE_TYPE_FIELD_NUMBER
public static final int DEFAULT_IMAGE_TYPE_FIELD_NUMBER
Field Value Type Description int
VALID_IMAGE_TYPES_FIELD_NUMBER
public static final int VALID_IMAGE_TYPES_FIELD_NUMBER
Field Value Type Description int
VALID_MASTER_VERSIONS_FIELD_NUMBER
public static final int VALID_MASTER_VERSIONS_FIELD_NUMBER
Field Value Type Description int
VALID_NODE_VERSIONS_FIELD_NUMBER
public static final int VALID_NODE_VERSIONS_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static ServerConfig getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static ServerConfig . Builder newBuilder ()
newBuilder(ServerConfig prototype)
public static ServerConfig . Builder newBuilder ( ServerConfig prototype )
public static ServerConfig parseDelimitedFrom ( InputStream input )
public static ServerConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static ServerConfig parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ServerConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static ServerConfig parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ServerConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ServerConfig parseFrom ( CodedInputStream input )
public static ServerConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ServerConfig parseFrom ( InputStream input )
public static ServerConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static ServerConfig parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ServerConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<ServerConfig> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getChannels(int index)
public ServerConfig . ReleaseChannelConfig getChannels ( int index )
List of release channel configurations.
repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;
Parameter Name Description index
int
getChannelsCount()
public int getChannelsCount ()
List of release channel configurations.
repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;
Returns Type Description int
getChannelsList()
public List<ServerConfig . ReleaseChannelConfig > getChannelsList ()
List of release channel configurations.
repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;
getChannelsOrBuilder(int index)
public ServerConfig . ReleaseChannelConfigOrBuilder getChannelsOrBuilder ( int index )
List of release channel configurations.
repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;
Parameter Name Description index
int
getChannelsOrBuilderList()
public List <? extends ServerConfig . ReleaseChannelConfigOrBuilder > getChannelsOrBuilderList ()
List of release channel configurations.
repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;
Returns Type Description List <? extends com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder >
getDefaultClusterVersion()
public String getDefaultClusterVersion ()
Version of Kubernetes the service deploys by default.
string default_cluster_version = 1;
Returns Type Description String
The defaultClusterVersion.
getDefaultClusterVersionBytes()
public ByteString getDefaultClusterVersionBytes ()
Version of Kubernetes the service deploys by default.
string default_cluster_version = 1;
Returns Type Description ByteString
The bytes for defaultClusterVersion.
getDefaultImageType()
public String getDefaultImageType ()
Default image type.
string default_image_type = 4;
Returns Type Description String
The defaultImageType.
getDefaultImageTypeBytes()
public ByteString getDefaultImageTypeBytes ()
Default image type.
string default_image_type = 4;
Returns Type Description ByteString
The bytes for defaultImageType.
getDefaultInstanceForType()
public ServerConfig getDefaultInstanceForType ()
getParserForType()
public Parser<ServerConfig> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
getValidImageTypes(int index)
public String getValidImageTypes ( int index )
List of valid image types.
repeated string valid_image_types = 5;
Parameter Name Description index
int
The index of the element to return.
Returns Type Description String
The validImageTypes at the given index.
getValidImageTypesBytes(int index)
public ByteString getValidImageTypesBytes ( int index )
List of valid image types.
repeated string valid_image_types = 5;
Parameter Name Description index
int
The index of the value to return.
Returns Type Description ByteString
The bytes of the validImageTypes at the given index.
getValidImageTypesCount()
public int getValidImageTypesCount ()
List of valid image types.
repeated string valid_image_types = 5;
Returns Type Description int
The count of validImageTypes.
getValidImageTypesList()
public ProtocolStringList getValidImageTypesList ()
List of valid image types.
repeated string valid_image_types = 5;
getValidMasterVersions(int index)
public String getValidMasterVersions ( int index )
List of valid master versions, in descending order.
repeated string valid_master_versions = 6;
Parameter Name Description index
int
The index of the element to return.
Returns Type Description String
The validMasterVersions at the given index.
getValidMasterVersionsBytes(int index)
public ByteString getValidMasterVersionsBytes ( int index )
List of valid master versions, in descending order.
repeated string valid_master_versions = 6;
Parameter Name Description index
int
The index of the value to return.
Returns Type Description ByteString
The bytes of the validMasterVersions at the given index.
getValidMasterVersionsCount()
public int getValidMasterVersionsCount ()
List of valid master versions, in descending order.
repeated string valid_master_versions = 6;
Returns Type Description int
The count of validMasterVersions.
getValidMasterVersionsList()
public ProtocolStringList getValidMasterVersionsList ()
List of valid master versions, in descending order.
repeated string valid_master_versions = 6;
getValidNodeVersions(int index)
public String getValidNodeVersions ( int index )
List of valid node upgrade target versions, in descending order.
repeated string valid_node_versions = 3;
Parameter Name Description index
int
The index of the element to return.
Returns Type Description String
The validNodeVersions at the given index.
getValidNodeVersionsBytes(int index)
public ByteString getValidNodeVersionsBytes ( int index )
List of valid node upgrade target versions, in descending order.
repeated string valid_node_versions = 3;
Parameter Name Description index
int
The index of the value to return.
Returns Type Description ByteString
The bytes of the validNodeVersions at the given index.
getValidNodeVersionsCount()
public int getValidNodeVersionsCount ()
List of valid node upgrade target versions, in descending order.
repeated string valid_node_versions = 3;
Returns Type Description int
The count of validNodeVersions.
getValidNodeVersionsList()
public ProtocolStringList getValidNodeVersionsList ()
List of valid node upgrade target versions, in descending order.
repeated string valid_node_versions = 3;
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public ServerConfig . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ServerConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public ServerConfig . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]