public override int GetHashCode() { int hash = 1; hash ^= payload_.GetHashCode(); if (preprocessedInput_ != null) { hash ^= PreprocessedInput.GetHashCode(); } hash ^= Metadata.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public void MergeFrom(PredictResponse other) { if (other == null) { return; } payload_.Add(other.payload_); if (other.preprocessedInput_ != null) { if (preprocessedInput_ == null) { PreprocessedInput = new global::Google.Cloud.AutoML.V1.ExamplePayload(); } PreprocessedInput.MergeFrom(other.PreprocessedInput); } metadata_.Add(other.metadata_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }