public final class GameServerConfig extends com.google.protobuf.GeneratedMessageV3 implements GameServerConfigOrBuilder
A game server config resource.Protobuf type
google.cloud.gaming.v1.GameServerConfig| Modifier and Type | Class and Description |
|---|---|
static class |
GameServerConfig.Builder
A game server config resource.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
FLEET_CONFIGS_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SCALING_CONFIGS_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
The labels associated with this game server config.
|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static GameServerConfig |
getDefaultInstance() |
GameServerConfig |
getDefaultInstanceForType() |
String |
getDescription()
The description of the game server config.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
The description of the game server config.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
FleetConfig |
getFleetConfigs(int index)
FleetConfig contains a list of Agones fleet specs.
|
int |
getFleetConfigsCount()
FleetConfig contains a list of Agones fleet specs.
|
List<FleetConfig> |
getFleetConfigsList()
FleetConfig contains a list of Agones fleet specs.
|
FleetConfigOrBuilder |
getFleetConfigsOrBuilder(int index)
FleetConfig contains a list of Agones fleet specs.
|
List<? extends FleetConfigOrBuilder> |
getFleetConfigsOrBuilderList()
FleetConfig contains a list of Agones fleet specs.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
The labels associated with this game server config.
|
Map<String,String> |
getLabelsMap()
The labels associated with this game server config.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
The labels associated with this game server config.
|
String |
getLabelsOrThrow(String key)
The labels associated with this game server config.
|
String |
getName()
The resource name of the game server config, in the following form:
`projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`.
|
com.google.protobuf.ByteString |
getNameBytes()
The resource name of the game server config, in the following form:
`projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`.
|
com.google.protobuf.Parser<GameServerConfig> |
getParserForType() |
ScalingConfig |
getScalingConfigs(int index)
The autoscaling settings.
|
int |
getScalingConfigsCount()
The autoscaling settings.
|
List<ScalingConfig> |
getScalingConfigsList()
The autoscaling settings.
|
ScalingConfigOrBuilder |
getScalingConfigsOrBuilder(int index)
The autoscaling settings.
|
List<? extends ScalingConfigOrBuilder> |
getScalingConfigsOrBuilderList()
The autoscaling settings.
|
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static GameServerConfig.Builder |
newBuilder() |
static GameServerConfig.Builder |
newBuilder(GameServerConfig prototype) |
GameServerConfig.Builder |
newBuilderForType() |
protected GameServerConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static GameServerConfig |
parseDelimitedFrom(InputStream input) |
static GameServerConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GameServerConfig |
parseFrom(byte[] data) |
static GameServerConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GameServerConfig |
parseFrom(ByteBuffer data) |
static GameServerConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GameServerConfig |
parseFrom(com.google.protobuf.ByteString data) |
static GameServerConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GameServerConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GameServerConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GameServerConfig |
parseFrom(InputStream input) |
static GameServerConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<GameServerConfig> |
parser() |
GameServerConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int FLEET_CONFIGS_FIELD_NUMBER
public static final int SCALING_CONFIGS_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
The resource name of the game server config, in the following form:
`projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`.
For example,
`projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config`.
string name = 1;getName in interface GameServerConfigOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The resource name of the game server config, in the following form:
`projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`.
For example,
`projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config`.
string name = 1;getNameBytes in interface GameServerConfigOrBuilderpublic boolean hasCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface GameServerConfigOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface GameServerConfigOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface GameServerConfigOrBuilderpublic boolean hasUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface GameServerConfigOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface GameServerConfigOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface GameServerConfigOrBuilderpublic int getLabelsCount()
GameServerConfigOrBuilderThe labels associated with this game server config. Each label is a key-value pair.
map<string, string> labels = 4;getLabelsCount in interface GameServerConfigOrBuilderpublic boolean containsLabels(String key)
The labels associated with this game server config. Each label is a key-value pair.
map<string, string> labels = 4;containsLabels in interface GameServerConfigOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface GameServerConfigOrBuilderpublic Map<String,String> getLabelsMap()
The labels associated with this game server config. Each label is a key-value pair.
map<string, string> labels = 4;getLabelsMap in interface GameServerConfigOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
The labels associated with this game server config. Each label is a key-value pair.
map<string, string> labels = 4;getLabelsOrDefault in interface GameServerConfigOrBuilderpublic String getLabelsOrThrow(String key)
The labels associated with this game server config. Each label is a key-value pair.
map<string, string> labels = 4;getLabelsOrThrow in interface GameServerConfigOrBuilderpublic List<FleetConfig> getFleetConfigsList()
FleetConfig contains a list of Agones fleet specs. Only one FleetConfig is allowed.
repeated .google.cloud.gaming.v1.FleetConfig fleet_configs = 5;getFleetConfigsList in interface GameServerConfigOrBuilderpublic List<? extends FleetConfigOrBuilder> getFleetConfigsOrBuilderList()
FleetConfig contains a list of Agones fleet specs. Only one FleetConfig is allowed.
repeated .google.cloud.gaming.v1.FleetConfig fleet_configs = 5;getFleetConfigsOrBuilderList in interface GameServerConfigOrBuilderpublic int getFleetConfigsCount()
FleetConfig contains a list of Agones fleet specs. Only one FleetConfig is allowed.
repeated .google.cloud.gaming.v1.FleetConfig fleet_configs = 5;getFleetConfigsCount in interface GameServerConfigOrBuilderpublic FleetConfig getFleetConfigs(int index)
FleetConfig contains a list of Agones fleet specs. Only one FleetConfig is allowed.
repeated .google.cloud.gaming.v1.FleetConfig fleet_configs = 5;getFleetConfigs in interface GameServerConfigOrBuilderpublic FleetConfigOrBuilder getFleetConfigsOrBuilder(int index)
FleetConfig contains a list of Agones fleet specs. Only one FleetConfig is allowed.
repeated .google.cloud.gaming.v1.FleetConfig fleet_configs = 5;getFleetConfigsOrBuilder in interface GameServerConfigOrBuilderpublic List<ScalingConfig> getScalingConfigsList()
The autoscaling settings.
repeated .google.cloud.gaming.v1.ScalingConfig scaling_configs = 6;getScalingConfigsList in interface GameServerConfigOrBuilderpublic List<? extends ScalingConfigOrBuilder> getScalingConfigsOrBuilderList()
The autoscaling settings.
repeated .google.cloud.gaming.v1.ScalingConfig scaling_configs = 6;getScalingConfigsOrBuilderList in interface GameServerConfigOrBuilderpublic int getScalingConfigsCount()
The autoscaling settings.
repeated .google.cloud.gaming.v1.ScalingConfig scaling_configs = 6;getScalingConfigsCount in interface GameServerConfigOrBuilderpublic ScalingConfig getScalingConfigs(int index)
The autoscaling settings.
repeated .google.cloud.gaming.v1.ScalingConfig scaling_configs = 6;getScalingConfigs in interface GameServerConfigOrBuilderpublic ScalingConfigOrBuilder getScalingConfigsOrBuilder(int index)
The autoscaling settings.
repeated .google.cloud.gaming.v1.ScalingConfig scaling_configs = 6;getScalingConfigsOrBuilder in interface GameServerConfigOrBuilderpublic String getDescription()
The description of the game server config.
string description = 7;getDescription in interface GameServerConfigOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
The description of the game server config.
string description = 7;getDescriptionBytes in interface GameServerConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static GameServerConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GameServerConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GameServerConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GameServerConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GameServerConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GameServerConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GameServerConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static GameServerConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GameServerConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GameServerConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GameServerConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GameServerConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GameServerConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static GameServerConfig.Builder newBuilder()
public static GameServerConfig.Builder newBuilder(GameServerConfig prototype)
public GameServerConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected GameServerConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static GameServerConfig getDefaultInstance()
public static com.google.protobuf.Parser<GameServerConfig> parser()
public com.google.protobuf.Parser<GameServerConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public GameServerConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.