public override int GetHashCode() { int hash = 1; if (resultCase_ == ResultOneofCase.ParseError) { hash ^= ParseError.GetHashCode(); } if (resultCase_ == ResultOneofCase.SerializeError) { hash ^= SerializeError.GetHashCode(); } if (resultCase_ == ResultOneofCase.RuntimeError) { hash ^= RuntimeError.GetHashCode(); } if (resultCase_ == ResultOneofCase.ProtobufPayload) { hash ^= ProtobufPayload.GetHashCode(); } if (resultCase_ == ResultOneofCase.JsonPayload) { hash ^= JsonPayload.GetHashCode(); } if (resultCase_ == ResultOneofCase.Skipped) { hash ^= Skipped.GetHashCode(); } if (resultCase_ == ResultOneofCase.JspbPayload) { hash ^= JspbPayload.GetHashCode(); } hash ^= (int)resultCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (payloadCase_ == PayloadOneofCase.ProtobufPayload) { hash ^= ProtobufPayload.GetHashCode(); } if (payloadCase_ == PayloadOneofCase.JsonPayload) { hash ^= JsonPayload.GetHashCode(); } if (payloadCase_ == PayloadOneofCase.JspbPayload) { hash ^= JspbPayload.GetHashCode(); } if (RequestedOutputFormat != 0) { hash ^= RequestedOutputFormat.GetHashCode(); } if (MessageType.Length != 0) { hash ^= MessageType.GetHashCode(); } if (TestCategory != 0) { hash ^= TestCategory.GetHashCode(); } if (jspbEncodingOptions_ != null) { hash ^= JspbEncodingOptions.GetHashCode(); } hash ^= (int)payloadCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }