示例#1
0
文件: Metric.cs 项目: reactxx/rewise
                public override int GetHashCode()
                {
                    int hash = 1;

                    if (LaunchStage != global::Google.Api.LaunchStage.Unspecified)
                    {
                        hash ^= LaunchStage.GetHashCode();
                    }
                    if (samplePeriod_ != null)
                    {
                        hash ^= SamplePeriod.GetHashCode();
                    }
                    if (ingestDelay_ != null)
                    {
                        hash ^= IngestDelay.GetHashCode();
                    }
                    if (_unknownFields != null)
                    {
                        hash ^= _unknownFields.GetHashCode();
                    }
                    return(hash);
                }
示例#2
0
                public override int GetHashCode()
                {
                    int hash = 1;

                    if (LaunchStage != 0)
                    {
                        hash ^= LaunchStage.GetHashCode();
                    }
                    if (samplePeriod_ != null)
                    {
                        hash ^= SamplePeriod.GetHashCode();
                    }
                    if (ingestDelay_ != null)
                    {
                        hash ^= IngestDelay.GetHashCode();
                    }
                    if (_unknownFields != null)
                    {
                        hash ^= _unknownFields.GetHashCode();
                    }
                    return(hash);
                }