Class ServerConfig.ReleaseChannelConfig.Builder (2.58.0)

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

ReleaseChannelConfig exposes configuration for a release channel.

Protobuf type google.container.v1beta1.ServerConfig.ReleaseChannelConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllAvailableVersions(Iterable<? extends ServerConfig.ReleaseChannelConfig.AvailableVersion> values) (deprecated)

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

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
Name Description
values Iterable<? extends com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion>
Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder

addAllValidVersions(Iterable<String> values)

public ServerConfig.ReleaseChannelConfig.Builder addAllValidVersions(Iterable<String> values)

List of valid versions for the channel.

repeated string valid_versions = 4;

Parameter
Name Description
values Iterable<String>

The validVersions to add.

Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder

This builder for chaining.

addAvailableVersions(ServerConfig.ReleaseChannelConfig.AvailableVersion value) (deprecated)

public ServerConfig.ReleaseChannelConfig.Builder addAvailableVersions(ServerConfig.ReleaseChannelConfig.AvailableVersion value)

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
Name Description
value ServerConfig.ReleaseChannelConfig.AvailableVersion
Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder

addAvailableVersions(ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder builderForValue) (deprecated)

public ServerConfig.ReleaseChannelConfig.Builder addAvailableVersions(ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder builderForValue)

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
Name Description
builderForValue ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder
Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder

addAvailableVersions(int index, ServerConfig.ReleaseChannelConfig.AvailableVersion value) (deprecated)

public ServerConfig.ReleaseChannelConfig.Builder addAvailableVersions(int index, ServerConfig.ReleaseChannelConfig.AvailableVersion value)

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];

Parameters
Name Description
index int
value ServerConfig.ReleaseChannelConfig.AvailableVersion
Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder

addAvailableVersions(int index, ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder builderForValue) (deprecated)

public ServerConfig.ReleaseChannelConfig.Builder addAvailableVersions(int index, ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder
Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder

addAvailableVersionsBuilder() (deprecated)

public ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder addAvailableVersionsBuilder()

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
ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder

addAvailableVersionsBuilder(int index) (deprecated)

public ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder addAvailableVersionsBuilder(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
Name Description
index int
Returns
Type Description
ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ServerConfig.ReleaseChannelConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder
Overrides

addValidVersions(String value)

public ServerConfig.ReleaseChannelConfig.Builder addValidVersions(String value)

List of valid versions for the channel.

repeated string valid_versions = 4;

Parameter
Name Description
value String

The validVersions to add.

Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder

This builder for chaining.

addValidVersionsBytes(ByteString value)

public ServerConfig.ReleaseChannelConfig.Builder addValidVersionsBytes(ByteString value)

List of valid versions for the channel.

repeated string valid_versions = 4;

Parameter
Name Description
value ByteString

The bytes of the validVersions to add.

Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder

This builder for chaining.

build()

public ServerConfig.ReleaseChannelConfig build()
Returns
Type Description
ServerConfig.ReleaseChannelConfig

buildPartial()

public ServerConfig.ReleaseChannelConfig buildPartial()
Returns
Type Description
ServerConfig.ReleaseChannelConfig

clear()

public ServerConfig.ReleaseChannelConfig.Builder clear()
Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder
Overrides

clearAvailableVersions() (deprecated)

public ServerConfig.ReleaseChannelConfig.Builder clearAvailableVersions()

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
ServerConfig.ReleaseChannelConfig.Builder

clearChannel()

public ServerConfig.ReleaseChannelConfig.Builder clearChannel()

The release channel this configuration applies to.

.google.container.v1beta1.ReleaseChannel.Channel channel = 1;

Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder

This builder for chaining.

clearDefaultVersion()

public ServerConfig.ReleaseChannelConfig.Builder clearDefaultVersion()

The default version for newly created clusters on the channel.

string default_version = 2;

Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ServerConfig.ReleaseChannelConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ServerConfig.ReleaseChannelConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder
Overrides

clearValidVersions()

public ServerConfig.ReleaseChannelConfig.Builder clearValidVersions()

List of valid versions for the channel.

repeated string valid_versions = 4;

Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder

This builder for chaining.

clone()

public ServerConfig.ReleaseChannelConfig.Builder clone()
Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder
Overrides

getAvailableVersions(int index) (deprecated)

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
Name Description
index int
Returns
Type Description
ServerConfig.ReleaseChannelConfig.AvailableVersion

getAvailableVersionsBuilder(int index) (deprecated)

public ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder getAvailableVersionsBuilder(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
Name Description
index int
Returns
Type Description
ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder

getAvailableVersionsBuilderList() (deprecated)

public List<ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder> getAvailableVersionsBuilderList()

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<Builder>

getAvailableVersionsCount() (deprecated)

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
Type Description
int

getAvailableVersionsList() (deprecated)

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
Type Description
List<AvailableVersion>

getAvailableVersionsOrBuilder(int index) (deprecated)

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
Name Description
index int
Returns
Type Description
ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder

getAvailableVersionsOrBuilderList() (deprecated)

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
Type Description
ReleaseChannel.Channel

The channel.

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
Type Description
ServerConfig.ReleaseChannelConfig

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.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
ProtocolStringList

A list containing the validVersions.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ServerConfig.ReleaseChannelConfig other)

public ServerConfig.ReleaseChannelConfig.Builder mergeFrom(ServerConfig.ReleaseChannelConfig other)
Parameter
Name Description
other ServerConfig.ReleaseChannelConfig
Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ServerConfig.ReleaseChannelConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ServerConfig.ReleaseChannelConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ServerConfig.ReleaseChannelConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder
Overrides

removeAvailableVersions(int index) (deprecated)

public ServerConfig.ReleaseChannelConfig.Builder removeAvailableVersions(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
Name Description
index int
Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder

setAvailableVersions(int index, ServerConfig.ReleaseChannelConfig.AvailableVersion value) (deprecated)

public ServerConfig.ReleaseChannelConfig.Builder setAvailableVersions(int index, ServerConfig.ReleaseChannelConfig.AvailableVersion value)

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];

Parameters
Name Description
index int
value ServerConfig.ReleaseChannelConfig.AvailableVersion
Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder

setAvailableVersions(int index, ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder builderForValue) (deprecated)

public ServerConfig.ReleaseChannelConfig.Builder setAvailableVersions(int index, ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder
Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder

setChannel(ReleaseChannel.Channel value)

public ServerConfig.ReleaseChannelConfig.Builder setChannel(ReleaseChannel.Channel value)

The release channel this configuration applies to.

.google.container.v1beta1.ReleaseChannel.Channel channel = 1;

Parameter
Name Description
value ReleaseChannel.Channel

The channel to set.

Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder

This builder for chaining.

setChannelValue(int value)

public ServerConfig.ReleaseChannelConfig.Builder setChannelValue(int value)

The release channel this configuration applies to.

.google.container.v1beta1.ReleaseChannel.Channel channel = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for channel to set.

Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder

This builder for chaining.

setDefaultVersion(String value)

public ServerConfig.ReleaseChannelConfig.Builder setDefaultVersion(String value)

The default version for newly created clusters on the channel.

string default_version = 2;

Parameter
Name Description
value String

The defaultVersion to set.

Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder

This builder for chaining.

setDefaultVersionBytes(ByteString value)

public ServerConfig.ReleaseChannelConfig.Builder setDefaultVersionBytes(ByteString value)

The default version for newly created clusters on the channel.

string default_version = 2;

Parameter
Name Description
value ByteString

The bytes for defaultVersion to set.

Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ServerConfig.ReleaseChannelConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ServerConfig.ReleaseChannelConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ServerConfig.ReleaseChannelConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder
Overrides

setValidVersions(int index, String value)

public ServerConfig.ReleaseChannelConfig.Builder setValidVersions(int index, String value)

List of valid versions for the channel.

repeated string valid_versions = 4;

Parameters
Name Description
index int

The index to set the value at.

value String

The validVersions to set.

Returns
Type Description
ServerConfig.ReleaseChannelConfig.Builder

This builder for chaining.