Class AnalyticsClientMeta
public sealed class AnalyticsClientMeta : IMessage<AnalyticsClientMeta>, IEquatable<AnalyticsClientMeta>, IDeepCloneable<AnalyticsClientMeta>, IBufferMessage, IMessage
- Inheritance
-
AnalyticsClientMeta
- Implements
-
IMessage<AnalyticsClientMeta>IDeepCloneable<AnalyticsClientMeta>IBufferMessageIMessage
- Inherited Members
Constructors
AnalyticsClientMeta()
public AnalyticsClientMeta()
AnalyticsClientMeta(AnalyticsClientMeta)
public AnalyticsClientMeta(AnalyticsClientMeta other)
Parameters
otherAnalyticsClientMeta
Fields
ClientAddrFieldNumber
Field number for the "client_addr" field.
public const int ClientAddrFieldNumber = 3
Field Value
ClientConnectTimeFieldNumber
Field number for the "client_connect_time" field.
public const int ClientConnectTimeFieldNumber = 4
Field Value
ConnectionTypeFieldNumber
Field number for the "connection_type" field.
public const int ConnectionTypeFieldNumber = 5
Field Value
CountryFieldNumber
Field number for the "country" field.
public const int CountryFieldNumber = 8
Field Value
GeoHashFieldNumber
Field number for the "geo_hash" field.
public const int GeoHashFieldNumber = 7
Field Value
IspAsnFieldNumber
Field number for the "isp_asn" field.
public const int IspAsnFieldNumber = 9
Field Value
NodeFieldNumber
Field number for the "node" field.
public const int NodeFieldNumber = 2
Field Value
ReconnectReasonFieldNumber
Field number for the "reconnect_reason" field.
public const int ReconnectReasonFieldNumber = 6
Field Value
RegionFieldNumber
Field number for the "region" field.
public const int RegionFieldNumber = 1
Field Value
Properties
ClientAddr
public string ClientAddr { get; set; }
Property Value
ClientConnectTime
public uint ClientConnectTime { get; set; }
Property Value
ConnectionType
udp, tcp, turn
public string ConnectionType { get; set; }
Property Value
Country
public string Country { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
GeoHash
public string GeoHash { get; set; }
Property Value
HasCountry
Gets whether the "country" field is set
public bool HasCountry { get; }
Property Value
HasGeoHash
Gets whether the "geo_hash" field is set
public bool HasGeoHash { get; }
Property Value
HasIspAsn
Gets whether the "isp_asn" field is set
public bool HasIspAsn { get; }
Property Value
IspAsn
public uint IspAsn { get; set; }
Property Value
Node
public string Node { get; set; }
Property Value
Parser
public static MessageParser<AnalyticsClientMeta> Parser { get; }
Property Value
- MessageParser<AnalyticsClientMeta>
ReconnectReason
public ReconnectReason ReconnectReason { get; set; }
Property Value
Region
public string Region { get; set; }
Property Value
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
public int CalculateSize()
Returns
- int
The number of bytes required to write this message to a coded output stream.
ClearCountry()
Clears the value of the "country" field
public void ClearCountry()
ClearGeoHash()
Clears the value of the "geo_hash" field
public void ClearGeoHash()
ClearIspAsn()
Clears the value of the "isp_asn" field
public void ClearIspAsn()
Clone()
Creates a deep clone of this object.
public AnalyticsClientMeta Clone()
Returns
- AnalyticsClientMeta
A deep clone of this object.
Equals(AnalyticsClientMeta)
public bool Equals(AnalyticsClientMeta other)
Parameters
otherAnalyticsClientMeta
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(AnalyticsClientMeta)
Merges the given message into this one.
public void MergeFrom(AnalyticsClientMeta other)
Parameters
otherAnalyticsClientMeta
Remarks
See the user guide for precise merge semantics.
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.