Beispiel #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (destinationCase_ == DestinationOneofCase.GcsDestination)
            {
                hash ^= GcsDestination.GetHashCode();
            }
            hash ^= (int)destinationCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Beispiel #2
0
        public void MergeFrom(OutputConfig other)
        {
            if (other == null)
            {
                return;
            }
            switch (other.DestinationCase)
            {
            case DestinationOneofCase.GcsDestination:
                if (GcsDestination == null)
                {
                    GcsDestination = new global::Google.Cloud.AutoML.V1.GcsDestination();
                }
                GcsDestination.MergeFrom(other.GcsDestination);
                break;
            }

            _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
        }