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.UnusedPrivateParameter
AbstractMessageLite.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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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 GameServerConfigOrBuilder
public 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 GameServerConfigOrBuilder
public boolean hasCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime
in interface GameServerConfigOrBuilder
public Timestamp getCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime
in interface GameServerConfigOrBuilder
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder
in interface GameServerConfigOrBuilder
public boolean hasUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime
in interface GameServerConfigOrBuilder
public Timestamp getUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime
in interface GameServerConfigOrBuilder
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder
in interface GameServerConfigOrBuilder
public int getLabelsCount()
GameServerConfigOrBuilder
The labels associated with this game server config. Each label is a key-value pair.
map<string, string> labels = 4;
getLabelsCount
in interface GameServerConfigOrBuilder
public 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 GameServerConfigOrBuilder
public 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 GameServerConfigOrBuilder
public 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 GameServerConfigOrBuilder
public 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 GameServerConfigOrBuilder
public 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 GameServerConfigOrBuilder
public 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 GameServerConfigOrBuilder
public 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 GameServerConfigOrBuilder
public 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 GameServerConfigOrBuilder
public 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 GameServerConfigOrBuilder
public List<ScalingConfig> getScalingConfigsList()
The autoscaling settings for Agones fleet.
repeated .google.cloud.gaming.v1alpha.ScalingConfig scaling_configs = 6;
getScalingConfigsList
in interface GameServerConfigOrBuilder
public List<? extends ScalingConfigOrBuilder> getScalingConfigsOrBuilderList()
The autoscaling settings for Agones fleet.
repeated .google.cloud.gaming.v1alpha.ScalingConfig scaling_configs = 6;
getScalingConfigsOrBuilderList
in interface GameServerConfigOrBuilder
public int getScalingConfigsCount()
The autoscaling settings for Agones fleet.
repeated .google.cloud.gaming.v1alpha.ScalingConfig scaling_configs = 6;
getScalingConfigsCount
in interface GameServerConfigOrBuilder
public ScalingConfig getScalingConfigs(int index)
The autoscaling settings for Agones fleet.
repeated .google.cloud.gaming.v1alpha.ScalingConfig scaling_configs = 6;
getScalingConfigs
in interface GameServerConfigOrBuilder
public ScalingConfigOrBuilder getScalingConfigsOrBuilder(int index)
The autoscaling settings for Agones fleet.
repeated .google.cloud.gaming.v1alpha.ScalingConfig scaling_configs = 6;
getScalingConfigsOrBuilder
in interface GameServerConfigOrBuilder
public String getDescription()
The description of the game server config.
string description = 7;
getDescription
in interface GameServerConfigOrBuilder
public ByteString getDescriptionBytes()
The description of the game server config.
string description = 7;
getDescriptionBytes
in interface GameServerConfigOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static GameServerConfig parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GameServerConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GameServerConfig parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GameServerConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GameServerConfig parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GameServerConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GameServerConfig parseFrom(InputStream input) throws IOException
IOException
public static GameServerConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static GameServerConfig parseDelimitedFrom(InputStream input) throws IOException
IOException
public static GameServerConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static GameServerConfig parseFrom(CodedInputStream input) throws IOException
IOException
public static GameServerConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public GameServerConfig.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static GameServerConfig.Builder newBuilder()
public static GameServerConfig.Builder newBuilder(GameServerConfig prototype)
public GameServerConfig.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected GameServerConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static GameServerConfig getDefaultInstance()
public static Parser<GameServerConfig> parser()
public Parser<GameServerConfig> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public GameServerConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2020 Google LLC. All rights reserved.