Class TargetDetails.TargetFleetDetails

public static final class TargetDetails.TargetFleetDetails extends GeneratedMessageV3 implements TargetDetails.TargetFleetDetailsOrBuilder

Details of the target Agones fleet.

Protobuf type google.cloud.gaming.v1.TargetDetails.TargetFleetDetails

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > TargetDetails.TargetFleetDetails

Fields

AUTOSCALER_FIELD_NUMBER

public static final int AUTOSCALER_FIELD_NUMBER
Field Value
TypeDescription
int

FLEET_FIELD_NUMBER

public static final int FLEET_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAutoscaler()

public TargetDetails.TargetFleetDetails.TargetFleetAutoscaler getAutoscaler()

Reference to target Agones fleet autoscaling policy.

.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler autoscaler = 2;

Returns
TypeDescription
TargetDetails.TargetFleetDetails.TargetFleetAutoscaler

The autoscaler.

getAutoscalerOrBuilder()

public TargetDetails.TargetFleetDetails.TargetFleetAutoscalerOrBuilder getAutoscalerOrBuilder()

Reference to target Agones fleet autoscaling policy.

.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler autoscaler = 2;

Returns
TypeDescription
TargetDetails.TargetFleetDetails.TargetFleetAutoscalerOrBuilder

getDefaultInstance()

public static TargetDetails.TargetFleetDetails getDefaultInstance()
Returns
TypeDescription
TargetDetails.TargetFleetDetails

getDefaultInstanceForType()

public TargetDetails.TargetFleetDetails getDefaultInstanceForType()
Returns
TypeDescription
TargetDetails.TargetFleetDetails

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getFleet()

public TargetDetails.TargetFleetDetails.TargetFleet getFleet()

Reference to target Agones fleet.

.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet fleet = 1;

Returns
TypeDescription
TargetDetails.TargetFleetDetails.TargetFleet

The fleet.

getFleetOrBuilder()

public TargetDetails.TargetFleetDetails.TargetFleetOrBuilder getFleetOrBuilder()

Reference to target Agones fleet.

.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet fleet = 1;

Returns
TypeDescription
TargetDetails.TargetFleetDetails.TargetFleetOrBuilder

getParserForType()

public Parser<TargetDetails.TargetFleetDetails> getParserForType()
Returns
TypeDescription
Parser<TargetFleetDetails>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasAutoscaler()

public boolean hasAutoscaler()

Reference to target Agones fleet autoscaling policy.

.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler autoscaler = 2;

Returns
TypeDescription
boolean

Whether the autoscaler field is set.

hasFleet()

public boolean hasFleet()

Reference to target Agones fleet.

.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet fleet = 1;

Returns
TypeDescription
boolean

Whether the fleet field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilder()

public static TargetDetails.TargetFleetDetails.Builder newBuilder()
Returns
TypeDescription
TargetDetails.TargetFleetDetails.Builder

newBuilder(TargetDetails.TargetFleetDetails prototype)

public static TargetDetails.TargetFleetDetails.Builder newBuilder(TargetDetails.TargetFleetDetails prototype)
Parameter
NameDescription
prototypeTargetDetails.TargetFleetDetails
Returns
TypeDescription
TargetDetails.TargetFleetDetails.Builder

newBuilderForType()

public TargetDetails.TargetFleetDetails.Builder newBuilderForType()
Returns
TypeDescription
TargetDetails.TargetFleetDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TargetDetails.TargetFleetDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TargetDetails.TargetFleetDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

parseDelimitedFrom(InputStream input)

public static TargetDetails.TargetFleetDetails parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TargetDetails.TargetFleetDetails
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TargetDetails.TargetFleetDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TargetDetails.TargetFleetDetails
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TargetDetails.TargetFleetDetails parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TargetDetails.TargetFleetDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TargetDetails.TargetFleetDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TargetDetails.TargetFleetDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TargetDetails.TargetFleetDetails parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TargetDetails.TargetFleetDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TargetDetails.TargetFleetDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TargetDetails.TargetFleetDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TargetDetails.TargetFleetDetails parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TargetDetails.TargetFleetDetails
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TargetDetails.TargetFleetDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TargetDetails.TargetFleetDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TargetDetails.TargetFleetDetails parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TargetDetails.TargetFleetDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TargetDetails.TargetFleetDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TargetDetails.TargetFleetDetails
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TargetDetails.TargetFleetDetails parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TargetDetails.TargetFleetDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TargetDetails.TargetFleetDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TargetDetails.TargetFleetDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TargetDetails.TargetFleetDetails> parser()
Returns
TypeDescription
Parser<TargetFleetDetails>

toBuilder()

public TargetDetails.TargetFleetDetails.Builder toBuilder()
Returns
TypeDescription
TargetDetails.TargetFleetDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException