public void MergeFrom(UnmanagedContainerModel other) { if (other == null) { return; } if (other.ArtifactUri.Length != 0) { ArtifactUri = other.ArtifactUri; } if (other.predictSchemata_ != null) { if (predictSchemata_ == null) { PredictSchemata = new global::Google.Cloud.AIPlatform.V1.PredictSchemata(); } PredictSchemata.MergeFrom(other.PredictSchemata); } if (other.containerSpec_ != null) { if (containerSpec_ == null) { ContainerSpec = new global::Google.Cloud.AIPlatform.V1.ModelContainerSpec(); } ContainerSpec.MergeFrom(other.ContainerSpec); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public override int GetHashCode() { int hash = 1; if (ArtifactUri.Length != 0) { hash ^= ArtifactUri.GetHashCode(); } if (predictSchemata_ != null) { hash ^= PredictSchemata.GetHashCode(); } if (containerSpec_ != null) { hash ^= ContainerSpec.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }