code: func (m *Time) MarshalTo(data []byte) (int, error) {
  	if m == nil || m.Time.IsZero() {
  		return 0, nil
  	}
  	return m.ProtoTime().MarshalTo(data)
  }
docs: // MarshalTo implements the protobuf marshalling interface.