- 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.Builder extends GeneratedMessageV3.Builder<ServerConfig.Builder> implements ServerConfigOrBuilder
Kubernetes Engine service configuration.
Protobuf type google.container.v1.ServerConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ServerConfig.BuilderImplements
ServerConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
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.v1.ServerConfig.ReleaseChannelConfig channels = 9;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.container.v1.ServerConfig.ReleaseChannelConfig> |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
values | Iterable<String> The validImageTypes to add. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
values | Iterable<String> The validMasterVersions to add. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
values | Iterable<String> The validNodeVersions to add. |
Returns | |
---|---|
Type | Description |
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.v1.ServerConfig.ReleaseChannelConfig channels = 9;
Parameter | |
---|---|
Name | Description |
value | ServerConfig.ReleaseChannelConfig |
Returns | |
---|---|
Type | Description |
ServerConfig.Builder |
addChannels(ServerConfig.ReleaseChannelConfig.Builder builderForValue)
public ServerConfig.Builder addChannels(ServerConfig.ReleaseChannelConfig.Builder builderForValue)
List of release channel configurations.
repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;
Parameter | |
---|---|
Name | Description |
builderForValue | ServerConfig.ReleaseChannelConfig.Builder |
Returns | |
---|---|
Type | Description |
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.v1.ServerConfig.ReleaseChannelConfig channels = 9;
Parameters | |
---|---|
Name | Description |
index | int |
value | ServerConfig.ReleaseChannelConfig |
Returns | |
---|---|
Type | Description |
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.v1.ServerConfig.ReleaseChannelConfig channels = 9;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | ServerConfig.ReleaseChannelConfig.Builder |
Returns | |
---|---|
Type | Description |
ServerConfig.Builder |
addChannelsBuilder()
public ServerConfig.ReleaseChannelConfig.Builder addChannelsBuilder()
List of release channel configurations.
repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;
Returns | |
---|---|
Type | Description |
ServerConfig.ReleaseChannelConfig.Builder |
addChannelsBuilder(int index)
public ServerConfig.ReleaseChannelConfig.Builder addChannelsBuilder(int index)
List of release channel configurations.
repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ServerConfig.ReleaseChannelConfig.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ServerConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ServerConfig.Builder |
addValidImageTypes(String value)
public ServerConfig.Builder addValidImageTypes(String value)
List of valid image types.
repeated string valid_image_types = 5;
Parameter | |
---|---|
Name | Description |
value | String The validImageTypes to add. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes of the validImageTypes to add. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The validMasterVersions to add. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes of the validMasterVersions to add. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The validNodeVersions to add. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes of the validNodeVersions to add. |
Returns | |
---|---|
Type | Description |
ServerConfig.Builder | This builder for chaining. |
build()
public ServerConfig build()
Returns | |
---|---|
Type | Description |
ServerConfig |
buildPartial()
public ServerConfig buildPartial()
Returns | |
---|---|
Type | Description |
ServerConfig |
clear()
public ServerConfig.Builder clear()
Returns | |
---|---|
Type | Description |
ServerConfig.Builder |
clearChannels()
public ServerConfig.Builder clearChannels()
List of release channel configurations.
repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;
Returns | |
---|---|
Type | Description |
ServerConfig.Builder |
clearDefaultClusterVersion()
public ServerConfig.Builder clearDefaultClusterVersion()
Version of Kubernetes the service deploys by default.
string default_cluster_version = 1;
Returns | |
---|---|
Type | Description |
ServerConfig.Builder | This builder for chaining. |
clearDefaultImageType()
public ServerConfig.Builder clearDefaultImageType()
Default image type.
string default_image_type = 4;
Returns | |
---|---|
Type | Description |
ServerConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ServerConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ServerConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ServerConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ServerConfig.Builder |
clearValidImageTypes()
public ServerConfig.Builder clearValidImageTypes()
List of valid image types.
repeated string valid_image_types = 5;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ServerConfig.Builder | This builder for chaining. |
clone()
public ServerConfig.Builder clone()
Returns | |
---|---|
Type | Description |
ServerConfig.Builder |
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 |
Returns | |
---|---|
Type | Description |
ServerConfig.ReleaseChannelConfig |
getChannelsBuilder(int index)
public ServerConfig.ReleaseChannelConfig.Builder getChannelsBuilder(int index)
List of release channel configurations.
repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ServerConfig.ReleaseChannelConfig.Builder |
getChannelsBuilderList()
public List<ServerConfig.ReleaseChannelConfig.Builder> getChannelsBuilderList()
List of release channel configurations.
repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;
Returns | |
---|---|
Type | Description |
List<Builder> |
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;
Returns | |
---|---|
Type | Description |
List<ReleaseChannelConfig> |
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 |
Returns | |
---|---|
Type | Description |
ServerConfig.ReleaseChannelConfigOrBuilder |
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()
Returns | |
---|---|
Type | Description |
ServerConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the validImageTypes. |
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;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the validMasterVersions. |
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;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the validNodeVersions. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ServerConfig other)
public ServerConfig.Builder mergeFrom(ServerConfig other)
Parameter | |
---|---|
Name | Description |
other | ServerConfig |
Returns | |
---|---|
Type | Description |
ServerConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServerConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ServerConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ServerConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ServerConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServerConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ServerConfig.Builder |
removeChannels(int index)
public ServerConfig.Builder removeChannels(int index)
List of release channel configurations.
repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ServerConfig.Builder |
setChannels(int index, ServerConfig.ReleaseChannelConfig value)
public ServerConfig.Builder setChannels(int index, ServerConfig.ReleaseChannelConfig value)
List of release channel configurations.
repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;
Parameters | |
---|---|
Name | Description |
index | int |
value | ServerConfig.ReleaseChannelConfig |
Returns | |
---|---|
Type | Description |
ServerConfig.Builder |
setChannels(int index, ServerConfig.ReleaseChannelConfig.Builder builderForValue)
public ServerConfig.Builder setChannels(int index, ServerConfig.ReleaseChannelConfig.Builder builderForValue)
List of release channel configurations.
repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | ServerConfig.ReleaseChannelConfig.Builder |
Returns | |
---|---|
Type | Description |
ServerConfig.Builder |
setDefaultClusterVersion(String value)
public ServerConfig.Builder setDefaultClusterVersion(String value)
Version of Kubernetes the service deploys by default.
string default_cluster_version = 1;
Parameter | |
---|---|
Name | Description |
value | String The defaultClusterVersion to set. |
Returns | |
---|---|
Type | Description |
ServerConfig.Builder | This builder for chaining. |
setDefaultClusterVersionBytes(ByteString value)
public ServerConfig.Builder setDefaultClusterVersionBytes(ByteString value)
Version of Kubernetes the service deploys by default.
string default_cluster_version = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for defaultClusterVersion to set. |
Returns | |
---|---|
Type | Description |
ServerConfig.Builder | This builder for chaining. |
setDefaultImageType(String value)
public ServerConfig.Builder setDefaultImageType(String value)
Default image type.
string default_image_type = 4;
Parameter | |
---|---|
Name | Description |
value | String The defaultImageType to set. |
Returns | |
---|---|
Type | Description |
ServerConfig.Builder | This builder for chaining. |
setDefaultImageTypeBytes(ByteString value)
public ServerConfig.Builder setDefaultImageTypeBytes(ByteString value)
Default image type.
string default_image_type = 4;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for defaultImageType to set. |
Returns | |
---|---|
Type | Description |
ServerConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ServerConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ServerConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ServerConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ServerConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ServerConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ServerConfig.Builder |
setValidImageTypes(int index, String value)
public ServerConfig.Builder setValidImageTypes(int index, String value)
List of valid image types.
repeated string valid_image_types = 5;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The validImageTypes to set. |
Returns | |
---|---|
Type | Description |
ServerConfig.Builder | This builder for chaining. |
setValidMasterVersions(int index, String value)
public ServerConfig.Builder setValidMasterVersions(int index, String value)
List of valid master versions, in descending order.
repeated string valid_master_versions = 6;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The validMasterVersions to set. |
Returns | |
---|---|
Type | Description |
ServerConfig.Builder | This builder for chaining. |
setValidNodeVersions(int index, String value)
public ServerConfig.Builder setValidNodeVersions(int index, String value)
List of valid node upgrade target versions, in descending order.
repeated string valid_node_versions = 3;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The validNodeVersions to set. |
Returns | |
---|---|
Type | Description |
ServerConfig.Builder | This builder for chaining. |