public override int GetHashCode()
        {
            int hash = 1;

            if (MessageType.Length != 0)
            {
                hash ^= MessageType.GetHashCode();
            }
            if (CompressionType != global::AcFunDanmu.ZtLiveScMessage.Types.CompressionType.Unknown)
            {
                hash ^= CompressionType.GetHashCode();
            }
            if (Payload.Length != 0)
            {
                hash ^= Payload.GetHashCode();
            }
            if (LiveId.Length != 0)
            {
                hash ^= LiveId.GetHashCode();
            }
            if (Ticket.Length != 0)
            {
                hash ^= Ticket.GetHashCode();
            }
            if (ServerTimestampMs != 0L)
            {
                hash ^= ServerTimestampMs.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Beispiel #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            hash ^= shape_.GetHashCode();
            if (CompressionType != 0)
            {
                hash ^= CompressionType.GetHashCode();
            }
            if (observationDataCase_ == ObservationDataOneofCase.CompressedData)
            {
                hash ^= CompressedData.GetHashCode();
            }
            if (observationDataCase_ == ObservationDataOneofCase.FloatData)
            {
                hash ^= FloatData.GetHashCode();
            }
            hash ^= compressedChannelMapping_.GetHashCode();
            hash ^= dimensionProperties_.GetHashCode();
            if (ObservationType != 0)
            {
                hash ^= ObservationType.GetHashCode();
            }
            hash ^= (int)observationDataCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            hash ^= shape_.GetHashCode();
            if (CompressionType != 0)
            {
                hash ^= CompressionType.GetHashCode();
            }
            if (Data.Length != 0)
            {
                hash ^= Data.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Beispiel #4
0
        public override int GetHashCode()
        {
            int hash = 1;

            hash ^= shape_.GetHashCode();
            if (CompressionType != global::MLAgents.CommunicatorObjects.CompressionTypeProto.None)
            {
                hash ^= CompressionType.GetHashCode();
            }
            if (observationDataCase_ == ObservationDataOneofCase.CompressedData)
            {
                hash ^= CompressedData.GetHashCode();
            }
            if (observationDataCase_ == ObservationDataOneofCase.FloatData)
            {
                hash ^= FloatData.GetHashCode();
            }
            hash ^= (int)observationDataCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Beispiel #5
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (CompressionType != 0)
            {
                hash ^= CompressionType.GetHashCode();
            }
            if (CompressionLevel != 0)
            {
                hash ^= CompressionLevel.GetHashCode();
            }
            hash ^= ciphers_.GetHashCode();
            hash ^= ivs_.GetHashCode();
            if (Checksum.Length != 0)
            {
                hash ^= Checksum.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }