- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.2
- 2.4.1
- 2.3.8
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.v1.ServerConfig.ReleaseChannelConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ServerConfig.ReleaseChannelConfig.BuilderImplements
ServerConfig.ReleaseChannelConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
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. |
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 |
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 |
clearChannel()
public ServerConfig.ReleaseChannelConfig.Builder clearChannel()
The release channel this configuration applies to.
.google.container.v1.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 |
clearOneof(Descriptors.OneofDescriptor oneof)
public ServerConfig.ReleaseChannelConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ServerConfig.ReleaseChannelConfig.Builder |
clearUpgradeTargetVersion()
public ServerConfig.ReleaseChannelConfig.Builder clearUpgradeTargetVersion()
The auto upgrade target version for clusters on the channel.
string upgrade_target_version = 5;
Returns | |
---|---|
Type | Description |
ServerConfig.ReleaseChannelConfig.Builder |
This builder for chaining. |
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 |
getChannel()
public ReleaseChannel.Channel getChannel()
The release channel this configuration applies to.
.google.container.v1.ReleaseChannel.Channel channel = 1;
Returns | |
---|---|
Type | Description |
ReleaseChannel.Channel |
The channel. |
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()
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 |
getUpgradeTargetVersion()
public String getUpgradeTargetVersion()
The auto upgrade target version for clusters on the channel.
string upgrade_target_version = 5;
Returns | |
---|---|
Type | Description |
String |
The upgradeTargetVersion. |
getUpgradeTargetVersionBytes()
public ByteString getUpgradeTargetVersionBytes()
The auto upgrade target version for clusters on the channel.
string upgrade_target_version = 5;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for upgradeTargetVersion. |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServerConfig.ReleaseChannelConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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.v1.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.v1.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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final ServerConfig.ReleaseChannelConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ServerConfig.ReleaseChannelConfig.Builder |
setUpgradeTargetVersion(String value)
public ServerConfig.ReleaseChannelConfig.Builder setUpgradeTargetVersion(String value)
The auto upgrade target version for clusters on the channel.
string upgrade_target_version = 5;
Parameter | |
---|---|
Name | Description |
value |
String The upgradeTargetVersion to set. |
Returns | |
---|---|
Type | Description |
ServerConfig.ReleaseChannelConfig.Builder |
This builder for chaining. |
setUpgradeTargetVersionBytes(ByteString value)
public ServerConfig.ReleaseChannelConfig.Builder setUpgradeTargetVersionBytes(ByteString value)
The auto upgrade target version for clusters on the channel.
string upgrade_target_version = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for upgradeTargetVersion to set. |
Returns | |
---|---|
Type | Description |
ServerConfig.ReleaseChannelConfig.Builder |
This builder for chaining. |
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. |