public final class GameServerConfig extends GeneratedMessageV3 implements GameServerConfigOrBuilder
A game server config resource.Protobuf type
google.cloud.gaming.v1alpha.GameServerConfig| Modifier and Type | Class and Description |
|---|---|
static class |
GameServerConfig.Builder
A game server config resource.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterAbstractMessageLite.InternalOneOfEnum| 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 |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
The labels associated with this game server config.
|
boolean |
equals(Object obj) |
Timestamp |
getCreateTime()
Output only.
|
TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static GameServerConfig |
getDefaultInstance() |
GameServerConfig |
getDefaultInstanceForType() |
String |
getDescription()
The description of the game server config.
|
ByteString |
getDescriptionBytes()
The description of the game server config.
|
static Descriptors.Descriptor |
getDescriptor() |
FleetConfig |
getFleetConfigs(int index)
The fleet specs contains a list of fleet specs.
|
int |
getFleetConfigsCount()
The fleet specs contains a list of fleet specs.
|
List<FleetConfig> |
getFleetConfigsList()
The fleet specs contains a list of fleet specs.
|
FleetConfigOrBuilder |
getFleetConfigsOrBuilder(int index)
The fleet specs contains a list of fleet specs.
|
List<? extends FleetConfigOrBuilder> |
getFleetConfigsOrBuilderList()
The fleet specs contains a list of 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, using the form:
`projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`.
|
ByteString |
getNameBytes()
The resource name of the game server config, using the form:
`projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`.
|
Parser<GameServerConfig> |
getParserForType() |
ScalingConfig |
getScalingConfigs(int index)
The autoscaling settings for Agones fleet.
|
int |
getScalingConfigsCount()
The autoscaling settings for Agones fleet.
|
List<ScalingConfig> |
getScalingConfigsList()
The autoscaling settings for Agones fleet.
|
ScalingConfigOrBuilder |
getScalingConfigsOrBuilder(int index)
The autoscaling settings for Agones fleet.
|
List<? extends ScalingConfigOrBuilder> |
getScalingConfigsOrBuilderList()
The autoscaling settings for Agones fleet.
|
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
Timestamp |
getUpdateTime()
Output only.
|
TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
boolean |
hasUpdateTime()
Output only.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static GameServerConfig.Builder |
newBuilder() |
static GameServerConfig.Builder |
newBuilder(GameServerConfig prototype) |
GameServerConfig.Builder |
newBuilderForType() |
protected GameServerConfig.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) |
static GameServerConfig |
parseDelimitedFrom(InputStream input) |
static GameServerConfig |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static GameServerConfig |
parseFrom(byte[] data) |
static GameServerConfig |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static GameServerConfig |
parseFrom(ByteBuffer data) |
static GameServerConfig |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static GameServerConfig |
parseFrom(ByteString data) |
static GameServerConfig |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static GameServerConfig |
parseFrom(CodedInputStream input) |
static GameServerConfig |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static GameServerConfig |
parseFrom(InputStream input) |
static GameServerConfig |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<GameServerConfig> |
parser() |
GameServerConfig.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, 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, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic 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(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class GeneratedMessageV3public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField in class GeneratedMessageV3protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public String getName()
The resource name of the game server config, using the 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 ByteString getNameBytes()
The resource name of the game server config, using the 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 Timestamp getCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface GameServerConfigOrBuilderpublic 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 Timestamp getUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface GameServerConfigOrBuilderpublic 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()
The fleet specs contains a list of fleet specs. For Single Cloud, only one fleet config is allowed.
repeated .google.cloud.gaming.v1alpha.FleetConfig fleet_configs = 5;getFleetConfigsList in interface GameServerConfigOrBuilderpublic List<? extends FleetConfigOrBuilder> getFleetConfigsOrBuilderList()
The fleet specs contains a list of fleet specs. For Single Cloud, only one fleet config is allowed.
repeated .google.cloud.gaming.v1alpha.FleetConfig fleet_configs = 5;getFleetConfigsOrBuilderList in interface GameServerConfigOrBuilderpublic int getFleetConfigsCount()
The fleet specs contains a list of fleet specs. For Single Cloud, only one fleet config is allowed.
repeated .google.cloud.gaming.v1alpha.FleetConfig fleet_configs = 5;getFleetConfigsCount in interface GameServerConfigOrBuilderpublic FleetConfig getFleetConfigs(int index)
The fleet specs contains a list of fleet specs. For Single Cloud, only one fleet config is allowed.
repeated .google.cloud.gaming.v1alpha.FleetConfig fleet_configs = 5;getFleetConfigs in interface GameServerConfigOrBuilderpublic FleetConfigOrBuilder getFleetConfigsOrBuilder(int index)
The fleet specs contains a list of fleet specs. For Single Cloud, only one fleet config is allowed.
repeated .google.cloud.gaming.v1alpha.FleetConfig fleet_configs = 5;getFleetConfigsOrBuilder in interface GameServerConfigOrBuilderpublic List<ScalingConfig> getScalingConfigsList()
The autoscaling settings for Agones fleet.
repeated .google.cloud.gaming.v1alpha.ScalingConfig scaling_configs = 6;getScalingConfigsList in interface GameServerConfigOrBuilderpublic List<? extends ScalingConfigOrBuilder> getScalingConfigsOrBuilderList()
The autoscaling settings for Agones fleet.
repeated .google.cloud.gaming.v1alpha.ScalingConfig scaling_configs = 6;getScalingConfigsOrBuilderList in interface GameServerConfigOrBuilderpublic int getScalingConfigsCount()
The autoscaling settings for Agones fleet.
repeated .google.cloud.gaming.v1alpha.ScalingConfig scaling_configs = 6;getScalingConfigsCount in interface GameServerConfigOrBuilderpublic ScalingConfig getScalingConfigs(int index)
The autoscaling settings for Agones fleet.
repeated .google.cloud.gaming.v1alpha.ScalingConfig scaling_configs = 6;getScalingConfigs in interface GameServerConfigOrBuilderpublic ScalingConfigOrBuilder getScalingConfigsOrBuilder(int index)
The autoscaling settings for Agones fleet.
repeated .google.cloud.gaming.v1alpha.ScalingConfig scaling_configs = 6;getScalingConfigsOrBuilder in interface GameServerConfigOrBuilderpublic String getDescription()
The description of the game server config.
string description = 7;getDescription in interface GameServerConfigOrBuilderpublic ByteString getDescriptionBytes()
The description of the game server config.
string description = 7;getDescriptionBytes in interface GameServerConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static GameServerConfig parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static GameServerConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static GameServerConfig parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static GameServerConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static GameServerConfig parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static GameServerConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static GameServerConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static GameServerConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GameServerConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GameServerConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GameServerConfig parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static GameServerConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GameServerConfig.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static GameServerConfig.Builder newBuilder()
public static GameServerConfig.Builder newBuilder(GameServerConfig prototype)
public GameServerConfig.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected GameServerConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static GameServerConfig getDefaultInstance()
public static Parser<GameServerConfig> parser()
public Parser<GameServerConfig> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public GameServerConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2020 Google LLC. All rights reserved.