Exemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (LogName.Length != 0)
            {
                hash ^= LogName.GetHashCode();
            }
            if (grpcService_ != null)
            {
                hash ^= GrpcService.GetHashCode();
            }
            if (bufferFlushInterval_ != null)
            {
                hash ^= BufferFlushInterval.GetHashCode();
            }
            if (bufferSizeBytes_ != null)
            {
                hash ^= BufferSizeBytes.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (serviceSpecifierCase_ == ServiceSpecifierOneofCase.ClusterName)
            {
                hash ^= ClusterName.GetHashCode();
            }
            if (serviceSpecifierCase_ == ServiceSpecifierOneofCase.GrpcService)
            {
                hash ^= GrpcService.GetHashCode();
            }
            hash ^= (int)serviceSpecifierCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (StatPrefix.Length != 0)
            {
                hash ^= StatPrefix.GetHashCode();
            }
            if (grpcService_ != null)
            {
                hash ^= GrpcService.GetHashCode();
            }
            if (FailureModeAllow != false)
            {
                hash ^= FailureModeAllow.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (servicesCase_ == ServicesOneofCase.GrpcService)
            {
                hash ^= GrpcService.GetHashCode();
            }
            if (servicesCase_ == ServicesOneofCase.HttpService)
            {
                hash ^= HttpService.GetHashCode();
            }
            if (FailureModeAllow != false)
            {
                hash ^= FailureModeAllow.GetHashCode();
            }
            hash ^= (int)servicesCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }