public final class ServerConfig extends GeneratedMessageV3 implements ServerConfigOrBuilder
Server configuration for supported versions and release channels.
Protobuf type google.cloud.edgecontainer.v1.ServerConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CHANNELS_FIELD_NUMBER
public static final int CHANNELS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DEFAULT_VERSION_FIELD_NUMBER
public static final int DEFAULT_VERSION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VERSIONS_FIELD_NUMBER
public static final int VERSIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ServerConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ServerConfig.Builder newBuilder()
newBuilder(ServerConfig prototype)
public static ServerConfig.Builder newBuilder(ServerConfig prototype)
public static ServerConfig parseDelimitedFrom(InputStream input)
public static ServerConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ServerConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ServerConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ServerConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ServerConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ServerConfig parseFrom(CodedInputStream input)
public static ServerConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ServerConfig parseFrom(InputStream input)
public static ServerConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ServerConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ServerConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ServerConfig> parser()
Methods
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
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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.
|
getParserForType()
public Parser<ServerConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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
|
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> |
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
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.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ServerConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ServerConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ServerConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides