public static final class ServerConfig.Builder extends GeneratedMessageV3.Builder<ServerConfig.Builder> implements ServerConfigOrBuilder
Server configuration for supported versions and release channels.
Protobuf type google.cloud.edgecontainer.v1.ServerConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllVersions(Iterable<? extends Version> values)
public ServerConfig.Builder addAllVersions(Iterable<? extends Version> values)
Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.edgecontainer.v1.Version>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ServerConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addVersions(Version value)
public ServerConfig.Builder addVersions(Version value)
Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
Version
|
addVersions(Version.Builder builderForValue)
public ServerConfig.Builder addVersions(Version.Builder builderForValue)
Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
addVersions(int index, Version value)
public ServerConfig.Builder addVersions(int index, Version value)
Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters |
Name |
Description |
index |
int
|
value |
Version
|
addVersions(int index, Version.Builder builderForValue)
public ServerConfig.Builder addVersions(int index, Version.Builder builderForValue)
Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
addVersionsBuilder()
public Version.Builder addVersionsBuilder()
Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
addVersionsBuilder(int index)
public Version.Builder addVersionsBuilder(int index)
Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
build()
public ServerConfig build()
buildPartial()
public ServerConfig buildPartial()
clear()
public ServerConfig.Builder clear()
Overrides
clearChannels()
public ServerConfig.Builder clearChannels()
clearDefaultVersion()
public ServerConfig.Builder clearDefaultVersion()
Output only. Default version, e.g.: "1.4.0".
string default_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public ServerConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ServerConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearVersions()
public ServerConfig.Builder clearVersions()
Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public ServerConfig.Builder clone()
Overrides
containsChannels(String key)
public boolean containsChannels(String key)
Output only. Mapping from release channel to channel config.
map<string, .google.cloud.edgecontainer.v1.ChannelConfig> channels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
key |
String
|
getChannels() (deprecated)
public Map<String,ChannelConfig> getChannels()
getChannelsCount()
public int getChannelsCount()
Output only. Mapping from release channel to channel config.
map<string, .google.cloud.edgecontainer.v1.ChannelConfig> channels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
|
getChannelsMap()
public Map<String,ChannelConfig> getChannelsMap()
Output only. Mapping from release channel to channel config.
map<string, .google.cloud.edgecontainer.v1.ChannelConfig> channels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getChannelsOrDefault(String key, ChannelConfig defaultValue)
public ChannelConfig getChannelsOrDefault(String key, ChannelConfig defaultValue)
Output only. Mapping from release channel to channel config.
map<string, .google.cloud.edgecontainer.v1.ChannelConfig> channels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getChannelsOrThrow(String key)
public ChannelConfig getChannelsOrThrow(String key)
Output only. Mapping from release channel to channel config.
map<string, .google.cloud.edgecontainer.v1.ChannelConfig> channels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
key |
String
|
getDefaultInstanceForType()
public ServerConfig getDefaultInstanceForType()
getDefaultVersion()
public String getDefaultVersion()
Output only. Default version, e.g.: "1.4.0".
string default_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The defaultVersion.
|
getDefaultVersionBytes()
public ByteString getDefaultVersionBytes()
Output only. Default version, e.g.: "1.4.0".
string default_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for defaultVersion.
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMutableChannels() (deprecated)
public Map<String,ChannelConfig> getMutableChannels()
Use alternate mutation accessors instead.
getVersions(int index)
public Version getVersions(int index)
Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
getVersionsBuilder(int index)
public Version.Builder getVersionsBuilder(int index)
Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
getVersionsBuilderList()
public List<Version.Builder> getVersionsBuilderList()
Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getVersionsCount()
public int getVersionsCount()
Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
|
getVersionsList()
public List<Version> getVersionsList()
Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getVersionsOrBuilder(int index)
public VersionOrBuilder getVersionsOrBuilder(int index)
Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
getVersionsOrBuilderList()
public List<? extends VersionOrBuilder> getVersionsOrBuilderList()
Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
List<? extends com.google.cloud.edgecontainer.v1.VersionOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ServerConfig other)
public ServerConfig.Builder mergeFrom(ServerConfig other)
public ServerConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ServerConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServerConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
putAllChannels(Map<String,ChannelConfig> values)
public ServerConfig.Builder putAllChannels(Map<String,ChannelConfig> values)
Output only. Mapping from release channel to channel config.
map<string, .google.cloud.edgecontainer.v1.ChannelConfig> channels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
putChannels(String key, ChannelConfig value)
public ServerConfig.Builder putChannels(String key, ChannelConfig value)
Output only. Mapping from release channel to channel config.
map<string, .google.cloud.edgecontainer.v1.ChannelConfig> channels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
putChannelsBuilderIfAbsent(String key)
public ChannelConfig.Builder putChannelsBuilderIfAbsent(String key)
Output only. Mapping from release channel to channel config.
map<string, .google.cloud.edgecontainer.v1.ChannelConfig> channels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
key |
String
|
removeChannels(String key)
public ServerConfig.Builder removeChannels(String key)
Output only. Mapping from release channel to channel config.
map<string, .google.cloud.edgecontainer.v1.ChannelConfig> channels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
key |
String
|
removeVersions(int index)
public ServerConfig.Builder removeVersions(int index)
Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
setDefaultVersion(String value)
public ServerConfig.Builder setDefaultVersion(String value)
Output only. Default version, e.g.: "1.4.0".
string default_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
String
The defaultVersion to set.
|
setDefaultVersionBytes(ByteString value)
public ServerConfig.Builder setDefaultVersionBytes(ByteString value)
Output only. Default version, e.g.: "1.4.0".
string default_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
ByteString
The bytes for defaultVersion to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ServerConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ServerConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ServerConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setVersions(int index, Version value)
public ServerConfig.Builder setVersions(int index, Version value)
Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters |
Name |
Description |
index |
int
|
value |
Version
|
setVersions(int index, Version.Builder builderForValue)
public ServerConfig.Builder setVersions(int index, Version.Builder builderForValue)
Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];