public override int GetHashCode() { int hash = 1; if (payloadCase_ == PayloadOneofCase.ProtobufPayload) { hash ^= ProtobufPayload.GetHashCode(); } if (payloadCase_ == PayloadOneofCase.JsonPayload) { hash ^= JsonPayload.GetHashCode(); } if (RequestedOutputFormat != 0) { hash ^= RequestedOutputFormat.GetHashCode(); } if (MessageType.Length != 0) { hash ^= MessageType.GetHashCode(); } if (TestCategory != 0) { hash ^= TestCategory.GetHashCode(); } hash ^= (int)payloadCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
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(); } hash ^= (int)resultCase_; return(hash); }
public override int GetHashCode() { int hash = 1; if (payloadCase_ == PayloadOneofCase.ProtobufPayload) { hash ^= ProtobufPayload.GetHashCode(); } if (payloadCase_ == PayloadOneofCase.JsonPayload) { hash ^= JsonPayload.GetHashCode(); } if (RequestedOutputFormat != 0) { hash ^= RequestedOutputFormat.GetHashCode(); } hash ^= (int)payloadCase_; return(hash); }