Class ServerConfig.Builder (2.12.0)

public static final class ServerConfig.Builder extends GeneratedMessageV3.Builder<ServerConfig.Builder> implements ServerConfigOrBuilder

Kubernetes Engine service configuration.

Protobuf type google.container.v1beta1.ServerConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllChannels(Iterable<? extends ServerConfig.ReleaseChannelConfig> values)

public ServerConfig.Builder addAllChannels(Iterable<? extends ServerConfig.ReleaseChannelConfig> values)

List of release channel configurations.

repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9;

Parameter
NameDescription
valuesIterable<? extends com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig>
Returns
TypeDescription
ServerConfig.Builder

addAllValidImageTypes(Iterable<String> values)

public ServerConfig.Builder addAllValidImageTypes(Iterable<String> values)

List of valid image types.

repeated string valid_image_types = 5;

Parameter
NameDescription
valuesIterable<String>

The validImageTypes to add.

Returns
TypeDescription
ServerConfig.Builder

This builder for chaining.

addAllValidMasterVersions(Iterable<String> values)

public ServerConfig.Builder addAllValidMasterVersions(Iterable<String> values)

List of valid master versions, in descending order.

repeated string valid_master_versions = 6;

Parameter
NameDescription
valuesIterable<String>

The validMasterVersions to add.

Returns
TypeDescription
ServerConfig.Builder

This builder for chaining.

addAllValidNodeVersions(Iterable<String> values)

public ServerConfig.Builder addAllValidNodeVersions(Iterable<String> values)

List of valid node upgrade target versions, in descending order.

repeated string valid_node_versions = 3;

Parameter
NameDescription
valuesIterable<String>

The validNodeVersions to add.

Returns
TypeDescription
ServerConfig.Builder

This builder for chaining.

addChannels(ServerConfig.ReleaseChannelConfig value)

public ServerConfig.Builder addChannels(ServerConfig.ReleaseChannelConfig value)

List of release channel configurations.

repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9;

Parameter
NameDescription
valueServerConfig.ReleaseChannelConfig
Returns
TypeDescription
ServerConfig.Builder

addChannels(ServerConfig.ReleaseChannelConfig.Builder builderForValue)

public ServerConfig.Builder addChannels(ServerConfig.ReleaseChannelConfig.Builder builderForValue)

List of release channel configurations.

repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9;

Parameter
NameDescription
builderForValueServerConfig.ReleaseChannelConfig.Builder
Returns
TypeDescription
ServerConfig.Builder

addChannels(int index, ServerConfig.ReleaseChannelConfig value)

public ServerConfig.Builder addChannels(int index, ServerConfig.ReleaseChannelConfig value)

List of release channel configurations.

repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9;

Parameters
NameDescription
indexint
valueServerConfig.ReleaseChannelConfig
Returns
TypeDescription
ServerConfig.Builder

addChannels(int index, ServerConfig.ReleaseChannelConfig.Builder builderForValue)

public ServerConfig.Builder addChannels(int index, ServerConfig.ReleaseChannelConfig.Builder builderForValue)

List of release channel configurations.

repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9;

Parameters
NameDescription
indexint
builderForValueServerConfig.ReleaseChannelConfig.Builder
Returns
TypeDescription
ServerConfig.Builder

addChannelsBuilder()

public ServerConfig.ReleaseChannelConfig.Builder addChannelsBuilder()

List of release channel configurations.

repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9;

Returns
TypeDescription
ServerConfig.ReleaseChannelConfig.Builder

addChannelsBuilder(int index)

public ServerConfig.ReleaseChannelConfig.Builder addChannelsBuilder(int index)

List of release channel configurations.

repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServerConfig.ReleaseChannelConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ServerConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ServerConfig.Builder
Overrides

addValidImageTypes(String value)

public ServerConfig.Builder addValidImageTypes(String value)

List of valid image types.

repeated string valid_image_types = 5;

Parameter
NameDescription
valueString

The validImageTypes to add.

Returns
TypeDescription
ServerConfig.Builder

This builder for chaining.

addValidImageTypesBytes(ByteString value)

public ServerConfig.Builder addValidImageTypesBytes(ByteString value)

List of valid image types.

repeated string valid_image_types = 5;

Parameter
NameDescription
valueByteString

The bytes of the validImageTypes to add.

Returns
TypeDescription
ServerConfig.Builder

This builder for chaining.

addValidMasterVersions(String value)

public ServerConfig.Builder addValidMasterVersions(String value)

List of valid master versions, in descending order.

repeated string valid_master_versions = 6;

Parameter
NameDescription
valueString

The validMasterVersions to add.

Returns
TypeDescription
ServerConfig.Builder

This builder for chaining.

addValidMasterVersionsBytes(ByteString value)

public ServerConfig.Builder addValidMasterVersionsBytes(ByteString value)

List of valid master versions, in descending order.

repeated string valid_master_versions = 6;

Parameter
NameDescription
valueByteString

The bytes of the validMasterVersions to add.

Returns
TypeDescription
ServerConfig.Builder

This builder for chaining.

addValidNodeVersions(String value)

public ServerConfig.Builder addValidNodeVersions(String value)

List of valid node upgrade target versions, in descending order.

repeated string valid_node_versions = 3;

Parameter
NameDescription
valueString

The validNodeVersions to add.

Returns
TypeDescription
ServerConfig.Builder

This builder for chaining.

addValidNodeVersionsBytes(ByteString value)

public ServerConfig.Builder addValidNodeVersionsBytes(ByteString value)

List of valid node upgrade target versions, in descending order.

repeated string valid_node_versions = 3;

Parameter
NameDescription
valueByteString

The bytes of the validNodeVersions to add.

Returns
TypeDescription
ServerConfig.Builder

This builder for chaining.

build()

public ServerConfig build()
Returns
TypeDescription
ServerConfig

buildPartial()

public ServerConfig buildPartial()
Returns
TypeDescription
ServerConfig

clear()

public ServerConfig.Builder clear()
Returns
TypeDescription
ServerConfig.Builder
Overrides

clearChannels()

public ServerConfig.Builder clearChannels()

List of release channel configurations.

repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9;

Returns
TypeDescription
ServerConfig.Builder

clearDefaultClusterVersion()

public ServerConfig.Builder clearDefaultClusterVersion()

Version of Kubernetes the service deploys by default.

string default_cluster_version = 1;

Returns
TypeDescription
ServerConfig.Builder

This builder for chaining.

clearDefaultImageType()

public ServerConfig.Builder clearDefaultImageType()

Default image type.

string default_image_type = 4;

Returns
TypeDescription
ServerConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ServerConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ServerConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ServerConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ServerConfig.Builder
Overrides

clearValidImageTypes()

public ServerConfig.Builder clearValidImageTypes()

List of valid image types.

repeated string valid_image_types = 5;

Returns
TypeDescription
ServerConfig.Builder

This builder for chaining.

clearValidMasterVersions()

public ServerConfig.Builder clearValidMasterVersions()

List of valid master versions, in descending order.

repeated string valid_master_versions = 6;

Returns
TypeDescription
ServerConfig.Builder

This builder for chaining.

clearValidNodeVersions()

public ServerConfig.Builder clearValidNodeVersions()

List of valid node upgrade target versions, in descending order.

repeated string valid_node_versions = 3;

Returns
TypeDescription
ServerConfig.Builder

This builder for chaining.

clearWindowsVersionMaps()

public ServerConfig.Builder clearWindowsVersionMaps()
Returns
TypeDescription
ServerConfig.Builder

clone()

public ServerConfig.Builder clone()
Returns
TypeDescription
ServerConfig.Builder
Overrides

containsWindowsVersionMaps(String key)

public boolean containsWindowsVersionMaps(String key)

Maps of Kubernetes version and supported Windows server versions.

map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getChannels(int index)

public ServerConfig.ReleaseChannelConfig getChannels(int index)

List of release channel configurations.

repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServerConfig.ReleaseChannelConfig

getChannelsBuilder(int index)

public ServerConfig.ReleaseChannelConfig.Builder getChannelsBuilder(int index)

List of release channel configurations.

repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServerConfig.ReleaseChannelConfig.Builder

getChannelsBuilderList()

public List<ServerConfig.ReleaseChannelConfig.Builder> getChannelsBuilderList()

List of release channel configurations.

repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9;

Returns
TypeDescription
List<Builder>

getChannelsCount()

public int getChannelsCount()

List of release channel configurations.

repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9;

Returns
TypeDescription
int

getChannelsList()

public List<ServerConfig.ReleaseChannelConfig> getChannelsList()

List of release channel configurations.

repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9;

Returns
TypeDescription
List<ReleaseChannelConfig>

getChannelsOrBuilder(int index)

public ServerConfig.ReleaseChannelConfigOrBuilder getChannelsOrBuilder(int index)

List of release channel configurations.

repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServerConfig.ReleaseChannelConfigOrBuilder

getChannelsOrBuilderList()

public List<? extends ServerConfig.ReleaseChannelConfigOrBuilder> getChannelsOrBuilderList()

List of release channel configurations.

repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9;

Returns
TypeDescription
List<? extends com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder>

getDefaultClusterVersion()

public String getDefaultClusterVersion()

Version of Kubernetes the service deploys by default.

string default_cluster_version = 1;

Returns
TypeDescription