public override int GetHashCode() { int hash = 1; if (commonTelemetry_ != null) { hash ^= CommonTelemetry.GetHashCode(); } if (datapointValueCase_ == DatapointValueOneofCase.LongValue) { hash ^= LongValue.GetHashCode(); } if (datapointValueCase_ == DatapointValueOneofCase.DoubleValue) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(DoubleValue); } if (datapointValueCase_ == DatapointValueOneofCase.BooleanValue) { hash ^= BooleanValue.GetHashCode(); } if (datapointValueCase_ == DatapointValueOneofCase.Distribution) { hash ^= Distribution.GetHashCode(); } if (MetricKind != 0) { hash ^= MetricKind.GetHashCode(); } hash ^= (int)datapointValueCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (Type.Length != 0) { hash ^= Type.GetHashCode(); } hash ^= labels_.GetHashCode(); if (MetricKind != 0) { hash ^= MetricKind.GetHashCode(); } if (ValueType != 0) { hash ^= ValueType.GetHashCode(); } if (Unit.Length != 0) { hash ^= Unit.GetHashCode(); } if (Description.Length != 0) { hash ^= Description.GetHashCode(); } if (DisplayName.Length != 0) { hash ^= DisplayName.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (metric_ != null) { hash ^= Metric.GetHashCode(); } if (resource_ != null) { hash ^= Resource.GetHashCode(); } if (metadata_ != null) { hash ^= Metadata.GetHashCode(); } if (MetricKind != 0) { hash ^= MetricKind.GetHashCode(); } if (ValueType != 0) { hash ^= ValueType.GetHashCode(); } hash ^= points_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (metric_ != null) { hash ^= Metric.GetHashCode(); } if (resource_ != null) { hash ^= Resource.GetHashCode(); } if (metadata_ != null) { hash ^= Metadata.GetHashCode(); } if (MetricKind != global::Google.Api.MetricDescriptor.Types.MetricKind.Unspecified) { hash ^= MetricKind.GetHashCode(); } if (ValueType != global::Google.Api.MetricDescriptor.Types.ValueType.Unspecified) { hash ^= ValueType.GetHashCode(); } hash ^= points_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (Type.Length != 0) { hash ^= Type.GetHashCode(); } hash ^= labels_.GetHashCode(); if (MetricKind != global::Google.Api.MetricDescriptor.Types.MetricKind.Unspecified) { hash ^= MetricKind.GetHashCode(); } if (ValueType != global::Google.Api.MetricDescriptor.Types.ValueType.Unspecified) { hash ^= ValueType.GetHashCode(); } if (Unit.Length != 0) { hash ^= Unit.GetHashCode(); } if (Description.Length != 0) { hash ^= Description.GetHashCode(); } if (DisplayName.Length != 0) { hash ^= DisplayName.GetHashCode(); } if (metadata_ != null) { hash ^= Metadata.GetHashCode(); } if (LaunchStage != global::Google.Api.LaunchStage.Unspecified) { hash ^= LaunchStage.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (metric_ != null) { hash ^= Metric.GetHashCode(); } if (resource_ != null) { hash ^= Resource.GetHashCode(); } if (MetricKind != 0) { hash ^= MetricKind.GetHashCode(); } if (ValueType != 0) { hash ^= ValueType.GetHashCode(); } hash ^= points_.GetHashCode(); return(hash); }